source: vendor/emx/current/src/pmgdb/pmapp.h

Last change on this file was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1/* pmapp.h -*- C++ -*-
2 Copyright (c) 1996 Eberhard Mattes
3
4This file is part of pmgdb.
5
6pmgdb is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11pmgdb is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with pmgdb; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21
22class pmapp
23{
24public:
25 pmapp (const char *name);
26 ~pmapp ();
27 void win_error () const;
28 void no_message_loop () const;
29 void message_loop () const;
30 HAB get_hab () const { return hab; }
31 const char *get_name () const { return name; }
32 int get_screen_width () const { return swpScreen.cx; }
33 int get_screen_height () const { return swpScreen.cy; }
34
35private:
36 HAB hab;
37 HMQ hmq;
38 SWP swpScreen;
39 fstring name;
40};
41
42
43struct pm_create
44{
45 USHORT cb;
46 void *ptr;
47 void *ptr2;
48};
49
50void dlg_sys_menu (HWND hwnd);
Note: See TracBrowser for help on using the repository browser.