home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
vos2-121.zip
/
v
/
examp
/
mymodal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-07-03
|
2KB
|
41 lines
//=======================================================================
// mymodal.h - Header file for myModalDialog class
// Copyright (C) 1995 Bruce E. Wampler
//
// This program is part of the V C++ GUI Framework example programs.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// (see COPYING) along with this program; if not, write to the Free
// Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//=======================================================================
#ifndef MYMODAL_H
#define MYMODAL_H
#include <v/vmodald.h>
class myModalDialog : public vModalDialog
{
public: //---------------------------------------- public
myModalDialog(vBaseWindow*);
virtual ~myModalDialog(); // Destructor
virtual void DialogCommand(ItemVal,ItemVal,CmdType); // action selected
void AddDefaultCmds(); // to add the defined commands
protected: //--------------------------------------- protected
private: //--------------------------------------- private
};
#endif