#include <gtk/gtk.h>
#include "notepad_utils.h"
Go to the source code of this file.
Namespaces | |
namespace | notepad |
Defines | |
#define | DBUS_APPL_NAME PACKAGE_NAME |
#define | DBUS_SERVICE "com.irexnet." DBUS_APPL_NAME |
#define | DBUS_PATH "/com/irexnet/" DBUS_APPL_NAME |
#define | DBUS_INTERFACE "com.irexnet." DBUS_APPL_NAME |
#define | DBUS_SERVICE_SYSTEM_CONTROL "com.irexnet.sysd" |
#define | DBUS_SERVICE_POPUP_MENU "com.irexnet.popupmenu" |
#define | DBUS_SERVICE_SETTINGS "com.irexnet.settings" |
#define | NOTEPAD_GCONF_PATH "/apps/er/notepad/" |
#define | GCONF_PEN_SIZE NOTEPAD_GCONF_PATH "pen_size" |
#define | GCONF_DEFAULT_PEN_SIZE (PEN_SMALL) |
Typedefs | |
typedef enum notepad::_PenSize | notepad::PenSize |
Enumerations | |
enum | notepad::_PenSize { notepad::PEN_FINE = 1, notepad::PEN_SMALL, notepad::PEN_MEDIUM, notepad::PEN_LARGE, notepad::PEN_XLARGE } |
Functions | |
gboolean | notepad::ipc_sys_is_pageturn_inverted (void) |
Query sysd if pageturning is inverted. | |
gboolean | notepad::ipc_sys_is_in_portrait_mode (void) |
Query sysd if device in portrait mode. | |
gboolean | notepad::ipc_set_services (void) |
Setup IPC connection and register API functions. | |
void | notepad::ipc_unset_services (void) |
Unregister API functions. | |
gboolean | notepad::ipc_sys_busy (gboolean busy) |
Send message sysSetBusy to system daemon. | |
gboolean | notepad::ipc_sys_bg_busy (gboolean busy) |
Send message sysSetBgBusy to system daemon to set the busy LED indication. | |
np_rotation | notepad::ipc_get_rotation (void) |
const char * | notepad::ipc_get_mountpoint () |
void | notepad::ipc_sys_startup_complete (int xid) |
Report "settings started" to sysd. | |
void | notepad::ipc_change_filename (const gchar *filename, const gchar *label) |
void | notepad::ipc_menu_set_pagecounter (int cur_page, int num_pages) |
PenSize | notepad::ipc_get_pensize (void) |
void | notepad::ipc_set_pensize (const PenSize new_pensize) |
void | notepad::menu_init (int pid, gpointer appwindow) |
void | notepad::menu_destroy () |
Remove the popup menus. | |
void | notepad::menu_block (gboolean block) |
#define DBUS_APPL_NAME PACKAGE_NAME |
Definition at line 39 of file notepad_ipc.h.
#define DBUS_INTERFACE "com.irexnet." DBUS_APPL_NAME |
Definition at line 42 of file notepad_ipc.h.
#define DBUS_PATH "/com/irexnet/" DBUS_APPL_NAME |
Definition at line 41 of file notepad_ipc.h.
#define DBUS_SERVICE "com.irexnet." DBUS_APPL_NAME |
Definition at line 40 of file notepad_ipc.h.
#define DBUS_SERVICE_POPUP_MENU "com.irexnet.popupmenu" |
Definition at line 45 of file notepad_ipc.h.
#define DBUS_SERVICE_SETTINGS "com.irexnet.settings" |
Definition at line 46 of file notepad_ipc.h.
#define DBUS_SERVICE_SYSTEM_CONTROL "com.irexnet.sysd" |
Definition at line 44 of file notepad_ipc.h.
#define GCONF_DEFAULT_PEN_SIZE (PEN_SMALL) |
Definition at line 61 of file notepad_ipc.h.
Referenced by notepad::ipc_gconf_read(), notepad::ipc_get_pensize(), and ipc_sys_startup_complete().
#define GCONF_PEN_SIZE NOTEPAD_GCONF_PATH "pen_size" |
Definition at line 60 of file notepad_ipc.h.
Referenced by notepad::ipc_gconf_read(), and notepad::ipc_gconf_write().
#define NOTEPAD_GCONF_PATH "/apps/er/notepad/" |
Definition at line 59 of file notepad_ipc.h.