diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-29 14:34:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-29 14:34:56 +0000 |
commit | 530e4e8173cbbdc299b7244ef5ba839f17b49556 (patch) | |
tree | a1b741f5bd64efb9dbae3d238b08072ebcc2883c /NxWidgets/nxwm/include/cnxstart.hxx | |
parent | e35aa390b0d57483b82638952ad62f3a7f5373b5 (diff) | |
download | px4-nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.gz px4-nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.bz2 px4-nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.zip |
Fix STM32 USART4/5 vs UART4/5 confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4671 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/cnxstart.hxx')
-rw-r--r-- | NxWidgets/nxwm/include/cnxstart.hxx | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/NxWidgets/nxwm/include/cnxstart.hxx b/NxWidgets/nxwm/include/cnxstart.hxx index 42ea67b35..fbfb9c54b 100644 --- a/NxWidgets/nxwm/include/cnxstart.hxx +++ b/NxWidgets/nxwm/include/cnxstart.hxx @@ -56,6 +56,9 @@ namespace NxWM { + class CNxTaskbar; + class CApplicationWindow; + class CNxStart : public INxApplication { protected: @@ -71,9 +74,19 @@ namespace NxWM /** * CNxStart Constructor + * + * @param taskbar. A pointer to the parent task bar instance + * @param window. The window to be used by this application. + */ + + CNxStart(CNxTaskbar *taskbar, CApplicationWindow *window); + + /** + * Each implementation of INxApplication must provide a method to recover + * the contained CApplicationWindow instance. */ - CNxStart(CNxTaskbar *taskbar); + CApplicationWindow *getWindow(void) const; /** * Get the icon associated with the application @@ -86,6 +99,26 @@ namespace NxWM NXWidgets::INxBitmap *getIcon(void); /** + * Get the name string associated with the application + * + * @return A copy if CNxString that contains the name of the application. + */ + + NXWidgets::CNxString getName(void); + + /** + * Start the application. + */ + + run(void); + + /** + * Stop the application. + */ + + stop(void); + + /** * Add the application to the start window * * @param application. The new application to add to the start window |