home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / CFGED1B.ZIP / PMVIEWS.ZIP / SESSION.H < prev    next >
C/C++ Source or Header  |  1992-07-18  |  2KB  |  68 lines

  1. // this might look like 'C', but it's really  -*-c++-*-
  2. /* session.h
  3.  *
  4.  * Declaration of class Session
  5.  *
  6.  * This class initiates a new session for a PM program
  7.  *
  8.  * Language        : C++
  9.  * Operating System: OS/2 V2.0 and higher
  10.  * Compiler        : GNU GCC V2.1 and higher
  11.  *
  12.  *
  13.  * $Id: session.h,v 1.1 1992/07/18 02:03:02 gruen Exp $
  14.  *
  15.  * $Log: session.h,v $
  16.  * Revision 1.1  1992/07/18  02:03:02  gruen
  17.  * Initial revision
  18.  *
  19.  *
  20.  * Revision 1.1  92/05/23  23:20:33  Unknown
  21.  * Initial revision
  22.  * 
  23.  *
  24.  * Copyright (c) 1992 Lutz Grueneberg
  25.  *
  26.  * This library is free software; you can redistribute it and/or modify
  27.  * it under the terms of the GNU Library General Public License as
  28.  * published by the Free Software Foundation; either version 2 of the
  29.  * License, or (at your option) any later version.  This library is
  30.  * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  31.  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  32.  * A PARTICULAR PURPOSE.  See the GNU Library General Public License for
  33.  * more details. You should have received a copy of the GNU Library
  34.  * General Public License along with this library; if not, write to the
  35.  * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  36.  */
  37. #ifndef SESSION_H_INCLUDED
  38. #define SESSION_H_INCLUDED
  39.  
  40. /* the master file needs to define INCL_WIN and must include os2.h */
  41.  
  42. class Session
  43. {
  44. private:
  45.   HAB      hab;
  46.   HMQ      hmq;
  47.   QMSG     qmsg;
  48.  
  49. public:
  50.   Session();
  51.   ~Session();
  52.   VOID     run();
  53.   HAB      queryAnchorBlock();
  54.   HMQ      queryMsgQueue();
  55. };
  56. #endif /* SESSION_H_INCLUDED */
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.