Develop and Download Open Source Software

Browse CVS Repository

Contents of /tombo/Tombo/Src/PsPCPlatform.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Sat Jun 5 22:14:28 2004 UTC (19 years, 10 months ago) by hirami
Branch: MAIN
CVS Tags: B155, Tombo_2_0a3, Tombo_2_0a2, Tombo_2_0a1, Tombo_1_17_1, B153, B191, B192, B193, B194, Tombo_1_9b1, B196, B197, B198, B199, B200, B201, B202, B203, B205, B206, B207, B208, SNAPSHOT_20040920, SNAPSHOT_20040925, B183, B181, B180, B187, B186, B184, B189, B188, B213, B212, B211, B217, B216, B215, B214, B219, B218, Tombo_2_0b2, Tombo_2_0b3, Tombo_2_0b1, Tombo_1_9, Tombo_2_0b4, B136, B135, B228, B229, B226, B227, B224, B225, B222, B223, B220, B221, B154, B172, B156, B157, B150, B151, B152, B173, B158, B159, B171, Tombo_1_10, Tombo_1_13, SNAPSHOT20051220, Tombo_1_12, B231, B230, B147, B146, B145, B144, B143, B142, B141, B140, B149, B148, Tombo_1_15, Tombo_1_14, Tombo_1_17, Tombo_1_16, Tombo_1_11, B177, B174, B175, B178, B179, B164, B169, B168, B165, SNAPSHOT_20041121, B166, B161, B160, B163, B162, B138, B139, HEAD
Branch point for: Tombo_2_0alpha_branch, Tombo_1_17_1_branch
Changes since 1.2: +6 -0 lines
File MIME type: text/x-chdr
* supporting two-pane layout for PocketPC version.

1 #ifndef PSPCPLATFORM_H
2 #define PSPCPLATFORM_H
3 #if defined(PLATFORM_PSPC)
4
5 #define PLATFORM_TYPE PsPCPlatform
6
7 class PsPCPlatform : public PlatformLayer {
8 public:
9 HWND hMSCmdBar;
10 HWND hMDCmdBar;
11
12 void Create(HWND hWnd, HINSTANCE hInst);
13
14 HMENU GetMDToolMenu() { return CommandBar_GetMenu(hMDCmdBar, 0); }
15 HMENU GetMSEditMenu() { return CommandBar_GetMenu(hMSCmdBar, 0); }
16 HMENU GetMSBookMarkMenu() {return GetSubMenu(CommandBar_GetMenu(hMSCmdBar, 0), BOOKMARK_MENU_POS); }
17
18 void EnableMenu(UINT uid, BOOL bEnable);
19 void EnableSearchNext();
20 void CheckMenu(UINT uid, BOOL bCheck) {/* nop */}
21
22 void OpenDetailsView();
23 void CloseDetailsView();
24
25 void AdjustUserRect(RECT *r);
26
27 void ShowStatusBar(BOOL bShow) {/* nop */}
28 void SetStatusIndicator(DWORD nPos, LPCTSTR pText, BOOL bDisp) { /* nop */ }
29 WORD GetStatusBarHeight() { return 0; }
30 void ResizeStatusBar(WPARAM wParam, LPARAM lParam) { /* nop */ }
31 void GetStatusWindowRect(RECT *pRect);
32
33 static PsPCPlatform *PlatformFactory() { return new PsPCPlatform(); }
34 };
35
36 #endif // PLATFORM_PSPC
37 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26