|
| SaveAs () |
| Construct creates an unassigned SaveAs. More...
|
|
| SaveAs (const SaveAs &other) |
| Construct a SaveAs from another SaveAs. More...
|
|
| SaveAs (const Object &other) |
| Construct a SaveAs from an Object that refers to a SaveAs. More...
|
|
| SaveAs (const std::string &template_name) |
| Create a SaveAs from the named template. More...
|
|
| SaveAs (const res::ResSaveAs &object_template) |
| Create a SaveAs from an in memory template resource. More...
|
|
SaveAs & | operator= (const SaveAs &other) |
| Assign this SaveAs from another. More...
|
|
SaveAs & | operator= (const Object &other) |
| Assign this SaveAs from an Object that refers to a SaveAs. More...
|
|
bool | operator== (const Object &other) const |
| Check if this SaveAs refers to the same underlying toolbox object as another. More...
|
|
bool | operator!= (const Object &other) const |
| Check if this SaveAs does not refers to the same underlying toolbox object as another. More...
|
|
Window | window () const |
| Return the underlying toolbox window used to implement the SaveAs object.
|
|
void | title (std::string value) |
| Set the title for the SaveAs object.
|
|
std::string | title () const |
| Get the title for the SaveAs object.
|
|
void | file_name (std::string value) |
| Set the file name for the save as object.
|
|
std::string | file_name () const |
| Get the file name for the SaveAs object.
|
|
void | file_type (int value) |
| Set the file type for the SaveAs object.
|
|
int | file_type () const |
| Get the file type from the SaveAs object.
|
|
void | file_size (int value) |
| Set the file size for the SaveAs object.
|
|
int | file_size () const |
| Get the file size from the SaveAs object.
|
|
void | selection_available (bool available) |
| Set if a selection is available.
|
|
void | set_data_address (void *data, int size, void *selection=0, int selection_size=0) |
| Set the data addresses for Type 1 saves. More...
|
|
void | buffer_filled (void *buffer, int size) |
| Call this as part of a type 3 RAM transfer in a SaveAsFillBufferListener to give the buffer to transfer and its size. More...
|
|
void | file_save_completed (bool successful, std::string file_name) |
| Call this after saving a file in the SaveAsSaveToFileListener for type 2 and 3 transfers. More...
|
|
void | add_about_to_be_shown_listener (AboutToBeShownListener *listener) |
| This event is raised just before the saveas underlying window is about to be shown. More...
|
|
void | remove_about_to_be_shown_listener (AboutToBeShownListener *listener) |
| Remove about to be shown listener. More...
|
|
void | add_has_been_hidden_listener (HasBeenHiddenListener *listener) |
| Add listener for when save as dialogue has been hidden. More...
|
|
void | remove_has_been_hidden_listener (HasBeenHiddenListener *listener) |
| Remove listener for when save as dialogue has been hidden. More...
|
|
void | add_dialogue_completed_listener (SaveAsDialogueCompletedListener *listener) |
| Add listener to be called when the dialogue has been completed. More...
|
|
void | remove_dialogue_completed_listener (SaveAsDialogueCompletedListener *listener) |
| Remove listener for when dialog has been completed. More...
|
|
void | add_save_completed_listener (SaveAsSaveCompletedListener *listener) |
| Add listener for when the save operation has completed. More...
|
|
void | remove_save_completed_listener (SaveAsSaveCompletedListener *listener) |
| Remove save as completed listener. More...
|
|
void | set_save_to_file_handler (SaveAsSaveToFileHandler *handler) |
| Set handler to do save to a file. More...
|
|
void | set_fill_buffer_handler (SaveAsFillBufferHandler *handler) |
| Set handler to fill a buffer. More...
|
|
| ShowFullObject () |
| Constructor with no reference to a Toolbox object. More...
|
|
| ShowFullObject (ObjectId handle) |
| Construct from a Toolbox object id. More...
|
|
| ShowFullObject (const Object &other) |
| Construct as reference to another Toolbox object. More...
|
|
| ShowFullObject (const std::string &template_name) |
| Create a Toolbox object and make this object a reference to it. More...
|
|
| ShowFullObject (const res::ResObject &object_template) |
| Create Toolbox object from a memory template and make this object a reference to it. More...
|
|
void | show (const ShowFullSpec &full_spec) |
| Show object with full position specified.
|
|
void | show (const ShowFullSpec &full_spec, const Object &parent) |
| Show object with full position specified.
|
|
void | show (const ShowFullSpec &full_spec, const Component &parent) |
| Show object with full position specified.
|
|
void | show (const Object &parent) |
| Show object with given parent object.
|
|
void | show (const Component &parent) |
| Show object with given parent component.
|
|
void | show (const Point &pos) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Object &parent) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Component &parent) |
| Show object with top left at the given position.
|
|
void | show_as_menu () |
| Show object as a menu at default position.
|
|
void | show_as_menu (const Object &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Component &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Point &pos) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Object &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Component &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_submenu (const MenuItem &parent) |
| Show object as a sub menu from the given menu item.
|
|
void | show_as_submenu (const Point &pos, const MenuItem &parent) |
| Show object as a sub menu at the given point from the given menu item.
|
|
| ShowPointObject () |
| Constructor with no reference to a Toolbox object. More...
|
|
| ShowPointObject (ObjectId handle) |
| Construct from a Toolbox object id. More...
|
|
| ShowPointObject (const Object &other) |
| Construct as reference to another Toolbox object. More...
|
|
| ShowPointObject (const std::string &template_name) |
| Create a Toolbox object and make this object a reference to it. More...
|
|
| ShowPointObject (const res::ResObject &object_template) |
| Create Toolbox object from a memory template and make this object a reference to it. More...
|
|
void | show (const Object &parent) |
| Show object with given parent object.
|
|
void | show (const Component &parent) |
| Show object with given parent component.
|
|
void | show (const Point &pos) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Object &parent) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Component &parent) |
| Show object with top left at the given position.
|
|
void | show_as_menu () |
| Show object as a menu at default position.
|
|
void | show_as_menu (const Object &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Component &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Point &pos) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Object &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Component &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_submenu (const MenuItem &parent) |
| Show object as a sub menu from the given menu item.
|
|
void | show_as_submenu (const Point &pos, const MenuItem &parent) |
| Show object as a sub menu at the given point from the given menu item.
|
|
void | show () |
| Show the object at the default place. More...
|
|
| Object () |
| Constructs an object unattached to a toolbox object. More...
|
|
| Object (ObjectId handle) |
| Construct an object referencing the given toolbox object. More...
|
|
| Object (const Object &other) |
| Construct an object referencing the same toolbox object as another.
|
|
| Object (const std::string &template_name) |
| Create a toolbox object with the given name in the application resources and assign a reference to it in this object. More...
|
|
void | delete_object () |
| Delete the underlying toolbox object. More...
|
|
bool | null () const |
| Check if object has been initialised. More...
|
|
ObjectId | handle () const |
| Return the underlying toolbox object id this object references. More...
|
|
Object & | operator= (const Object &other) |
| Assign this object to reference the same toolbox object as another. More...
|
|
bool | operator== (const Object &other) const |
| Check if this object references the same toolbox object as another. More...
|
|
bool | operator!= (const Object &other) const |
| Check if this object does not reference the same toolbox object as another. More...
|
|
| operator bool () const |
| Operator to check if an object has been initialised. More...
|
|
int | toolbox_class () const |
| Get the toolbox class of this object. More...
|
|
void | check_toolbox_class (int class_id) const |
| Check if this objects toolbox class is as specified. More...
|
|
void * | client_handle () const |
| Return user defined handle stored against this object. More...
|
|
void | client_handle (void *client_handle) |
| Set a user defined handle for this object. More...
|
|
Object | parent_object () const |
| Get parent object. More...
|
|
Component | parent_component () const |
| Get parent component. More...
|
|
Object | ancestor_object () const |
| Get ancestor object. More...
|
|
Component | ancestor_component () const |
| Get ancestor component. More...
|
|
void | show () |
| Show the object at the default place. More...
|
|
void | show_centred () |
| Show the object in the centre of the screen. More...
|
|
void | show_at_pointer () |
| Show the object at the current mouse position. More...
|
|
void | hide () |
| Hide the object. More...
|
|
bool | showing () const |
| Check if an object is currently showing.
|
|
void | add_command (int command_id, Command *command) |
| Add a command to this Object. More...
|
|
void | remove_command (int command_id, Command *command) |
| Remove a command from this object. More...
|
|
void | add_user_event_listener (int event_id, UserEventListener *listener) |
| Add a user event listener. More...
|
|
void | remove_user_event_listener (int event_id, UserEventListener *listener) |
| Remove a user event listener from this object. More...
|
|
void | add_object_deleted_listener (ObjectDeletedListener *listener) |
| Add listener for when the toolbox object referenced by this object has been deleted. More...
|
|
void | remove_object_deleted_listener (ObjectDeletedListener *listener) |
| Remove listener for when the toolbox object referenced by this object has been deleted. More...
|
|
void | remove_all_listeners () |
| Remove all listeners and commands from this object. More...
|
|
Class to show the RISC OS SaveAs dialog box and generate events to allow the application to do the Save.
The SaveAs object has three types: Type 1: SaveAs does all the saving from a client provided buffer Type 2: SaveAs fires events so the client can save the data to a file Type 3: SaveAs supports type 2 but also fires events to allow a RAM Transfer