Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Types | |
enum | ItemType { ITEM_TYPE_BUILTIN = 0, ITEM_TYPE_USER, ITEM_TYPE_VOLATILE } |
enum | Location { LOCATION_NONE = 0, LOCATION_WIDGET = 1, LOCATION_APPLICATION = 2 } |
Public Member Functions | |
AppShelf (AppObject &app) | |
CoreArray< CoreString > | get_shelf_config_file () const |
CoreArray< CoreString > | get_shelf_script_path () const |
CoreArray< CoreString > | get_shelf_icon_path () const |
bool | add_item (const unsigned int &slot, const CoreString &category, const CoreString &title, const CoreString &description, const CoreString &script_filename, const CoreString &icon_filename="") |
bool | add_separator (const unsigned int &slot, const CoreString &category) |
void | remove_all_items () |
void | remove_all_items (const unsigned int &slot) |
bool | remove_all_items (const unsigned int &slot, const CoreString &category) |
const CoreVector< AppShelfItem > * | get_items (const int &slot, const CoreString &category) |
const CoreVector < AppShelfCategory > * | get_categories (const int &slot) |
bool | set_item (const unsigned int &id, AppShelfItem &shelf_item) |
bool | add_item (AppShelfItem &shelf_item) |
bool | insert_item (AppShelfItem &shelf_item, const int index=-1) |
bool | move_item (const AppShelfItem &shelf_item, const int &slot_dst, const CoreString &category_dst, const int &position_dst=-1) |
bool | move_category (const CoreString &category, const int &slot_scr, const int &slot_dst, const int &position_dst=-1) |
bool | remove_item (unsigned int id) |
int | get_slot_count () |
bool | is_empty () |
bool | load_file (const CoreString filename, ItemType type, const bool remove_all=false, CoreString force_working_directory="") |
void | load_entry (ParserEntry *shelf_entry, ItemType type, const CoreString &working_directory="") |
void | save_entry (ParserEntry *shelf_entry, ItemType type) |
bool | save_file (const CoreString filename, ItemType type) |
const bool & | is_app_toolbar_shown () |
const int & | get_app_toolbar_slot () |
const CoreString & | get_app_toolbar_category () |
const int & | get_app_toolbar_style () |
const int & | get_app_toolbar_view_mode () |
void | set_app_toolbar_shown (const bool &show) |
void | set_app_toolbar_slot (const int &slot) |
void | set_app_toolbar_category (const CoreString &category) |
void | set_app_toolbar_style (const int &style) |
void | set_app_toolbar_view_mode (const int &view_mode) |
Static Public Member Functions | |
static CoreString | get_default_config_file () |
static CoreString | get_user_config_filename () |
static unsigned int | get_new_unique_id () |