#include "E.h" #include "timestamp.h" /* IPC array member function declarations */ /* this is needed for the IPC array below to not give us any warnings * during compiletime. Since we don't use these anywhere else and I * don't expect us to ever, we're not going to bother putting them in * E.h * --Mandrake */ void IPC_Help(char *params, Client * c); void IPC_Version(char *params, Client * c); void IPC_Copyright(char *params, Client * c); void IPC_AutoSave(char *params, Client * c); void IPC_DefaultTheme(char *params, Client * c); void IPC_Restart(char *params, Client * c); void IPC_RestartWM(char *params, Client * c); void IPC_RestartTheme(char *params, Client * c); void IPC_Exit(char *params, Client * c); void IPC_ForceSave(char *params, Client * c); void IPC_SMFile(char *params, Client * c); void IPC_ListThemes(char *params, Client * c); void IPC_GotoDesktop(char *params, Client * c); void IPC_ShowIcons(char *params, Client * c); void IPC_FocusMode(char *params, Client * c); void IPC_AdvancedFocus(char *params, Client * c); void IPC_NumDesks(char *params, Client * c); void IPC_NumAreas(char *params, Client * c); void IPC_WinOps(char *params, Client * c); void IPC_WinList(char *params, Client * c); void IPC_GotoArea(char *params, Client * c); void IPC_ButtonShow(char *params, Client * c); void IPC_ActiveNetwork(char *params, Client * c); void IPC_FX(char *params, Client * c); void IPC_MoveMode(char *params, Client * c); void IPC_ResizeMode(char *params, Client * c); void IPC_Pager(char *params, Client * c); void IPC_InternalList(char *params, Client * c); void IPC_SetFocus(char *params, Client * c); void IPC_DialogOK(char *params, Client * c); void IPC_SoundClass(char *params, Client * c); void IPC_ImageClass(char *params, Client * c); void IPC_ActionClass(char *params, Client * c); void IPC_ColorModifierClass(char *params, Client * c); void IPC_TextClass(char *params, Client * c); void IPC_Border(char *params, Client * c); void IPC_Button(char *params, Client * c); void IPC_Background(char *params, Client * c); void IPC_Cursor(char *params, Client * c); void IPC_PlaySoundClass(char *params, Client * c); void IPC_ListClassMembers(char *params, Client * c); void IPC_GeneralInfo(char *params, Client * c); void IPC_Modules(char *params, Client * c); void IPC_DockPosition(char *params, Client * c); void IPC_KDE(char *params, Client * c); /* Changes By Asmodean_ / #E@Efnet * * * IPC_ReloadMenus(...) / reload_menus - Reloads menus from menus.cfg * * * * */ void IPC_ReloadMenus(char *params, Client * c); void IPC_GroupInfo(char *params, Client * c); void IPC_GroupOps(char *params, Client * c); void IPC_Group(char *params, Client * c); /* the IPC Array */ /* the format of an IPC member of the IPC array is as follows: * { * NameOfMyFunction, * "command_name", * "quick-help explanation", * "extended help data" * "may go on for several lines, be sure\n" * "to add line feeds when you need them and to \"quote\"\n" * "properly" * } * * when you add a function into this array, make sure you also add it into * the declarations above and also put the function in this file. PLEASE * if you add a new function in, add help to it also. since my end goal * is going to be to have this whole IPC usable by an end-user or to your * scripter, it should be easy to learn to use without having to crack * open the source code. * --Mandrake */ IPCStruct IPCArray[] = { { IPC_Help, "help", "gives you this help screen", "Additional parameters will retreive help on many topics - " "\"help \".\nuse \"help all\" for a list of commands." }, { IPC_Version, "version", "displays the current version of Enlightenment running", NULL }, { IPC_Copyright, "copyright", "displays copyright information for Enlightenment", NULL }, { IPC_AutoSave, "autosave", "toggle the Automatic Saving Feature", "Use \"autosave ?\" to list the current status\n" "use \"autosave on\" or \"autosave off\" to toggle the status" }, { IPC_DefaultTheme, "default_theme", "toggle the default theme", "Use \"default_theme ?\" to get the current default theme\n" "use \"default_theme /path/to/theme\"\n" "you can retrieve a list of available themes from the " "\"list_themes\" command" }, { IPC_Restart, "restart", "Restart Enlightenment", NULL }, { IPC_RestartWM, "restart_wm", "Restart another window manager", "Use \"restart_wm \" to start another window manager.\n" "Example: \"restart_wm fvwm\"" }, { IPC_RestartTheme, "restart_theme", "Restart with another theme", "Use \"restart_theme \" to restart enlightenment " "with another theme\nExample: \"restart_theme icE\"" }, { IPC_Exit, "exit", "Exit Enlightenment", NULL }, { IPC_ForceSave, "save_config", "Force Enlightenment to save settings now", NULL }, { IPC_SMFile, "sm_file", "Change the default prefix used for session saves", "Average users are encouraged not to touch this setting.\n" "Use \"sm_file ?\" to retreive the current session management " "file prefix\nUse \"sm_file /path/to/prefix/filenameprefix\" " "to change." }, { IPC_ListThemes, "list_themes", "List currently available themes", NULL }, { IPC_GotoDesktop, "goto_desktop", "Change currently active destkop", "Use \"goto_desktop num\" to go to a specific desktop.\n" "Use \"goto_desktop next\" and \"goto_desktop prev\" to go to " "the next and\n previous desktop\n" "Use \"goto_desktop ?\" to find out what desktop you are " "currently on" }, { IPC_GotoArea, "goto_area", "Change currently active area", "Use \"goto_area \" to go to a specific desktop.\n" "Use \"goto_desktop next \" and \"goto_desktop " "prev \" to go to the next and\n " "previous areas\nUse \"goto_area ?\" to find out what area " "you are currently on" }, { IPC_ShowIcons, "show_icons", "Toggle the display of icons on the desktop", "Use \"show_icons on\" and \"show_icons off\" to change this setting\n" "Use \"show_icons ?\" to retrieve the current setting" }, { IPC_FocusMode, "focus_mode", "Change the current focus mode setting", "Use \"focus_mode \" to change the focus mode.\n" "Use \"focus_mode ?\" to retrieve the current setting\n" "Focus Types:\n" "click: This is the traditional click-to-focus mode.\n" "clicknograb: This is a similar focus mode, but without the " "grabbing of the click\n " "(you cannot click anywhere in a window to focus it)\n" "pointer: The focus will follow the mouse pointer\n" "sloppy: in sloppy-focus, the focus follows the mouse, " "but when over\n " "the desktop background the last window does not lose the focus" }, { IPC_AdvancedFocus, "advanced_focus", "Toggle Advanced Focus Settings", "use \"advanced_focus