home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-05-30 | 1.3 KB | 64 lines | [TEXT/CWIE] |
- // ===========================================================================
- // SCAPIMenu.h ©1997 Spunk Cross All rights reserved.
- // ===========================================================================
-
- #ifndef SCAPIMENU_H
- #define SCAPIMENU_H
-
- #include "SCAPICommonIncludes.h"
-
-
- // ---------------------------------------------------------------------------
- // • SCAPIMenu Class
- // ---------------------------------------------------------------------------
-
- class SCAPIMenu
- {
- friend class SCAPIApp;
- friend class SCAPIWindow;
-
- // ===========================================================
- // === Spunk Cross API, these are the routines you can use ===
- // ===========================================================
-
- // • Constructor - Destructor
- // --------------------------
-
- public:
-
- SCAPIMenu(char* inTitle);
-
- ~SCAPIMenu();
-
-
- // • Member functions
- // ------------------
-
- public:
-
- void AddItem(int inCommand, char* inText);
-
- void AddSeparator(void);
-
-
- // =================================
- // === Internal part, do not use ===
- // =================================
-
- // • Member variables
- // ------------------
-
- private:
-
- LMenu* mMenuP;
-
-
- // • Static variables
- // ------------------
-
- private:
-
- static int sMenuID;
- };
-
- #endif