home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / kwclass.zip / KPROGRAM.HPP < prev    next >
C/C++ Source or Header  |  1994-04-19  |  712b  |  38 lines

  1. #ifndef _KPROGRAM_
  2. #define _KPROGRAM_
  3.  
  4. #ifndef _IVBASE_
  5.    #include <ivbase.hpp>
  6. #endif
  7.  
  8. #ifndef _ISTRING_
  9.    #include <istring.hpp>
  10. #endif
  11.  
  12. #ifndef _IRESLIB_
  13.    #include <ireslib.hpp>
  14. #endif
  15.  
  16. #pragma pack(4)
  17.  
  18.  
  19. class _Export KProgram : public IVBase
  20. {
  21.    public:
  22.       KProgram(char const *strName, char const *strTitle=0, 
  23.                char const *strInput=0, char const *strEnv=0);
  24.       KProgram(const IResourceId nameId, const IResourceId titleId, 
  25.                const IResourceId inputId=0, const IResourceId envId=0);
  26.       unsigned long run();
  27.  
  28.    private:
  29.       IString name;
  30.       IString title;
  31.       IString input;
  32.       IString env;
  33. };
  34.  
  35. #pragma pack()
  36.  
  37. #endif
  38.