home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / edispm11.zip / EDisPM / SRC / Client / EDADM.HPP < prev    next >
Text File  |  1996-05-11  |  2KB  |  74 lines

  1. /* EDAdm.hpp: EDDocAdmin:       EDisPM.EXE V 1.1 */
  2. /* Editorclient - Text Server Verwaltung         */
  3. /*                                               */
  4. /* (C) 1995 M.Schwarz, FoPra TU-Muenchen SS1995  */
  5. /* (C) 1996 M.Schwarz, SOMObjects-Programmierung */
  6. /*                     OS/2 Inside 7/96          */
  7. /*                                               */
  8. /* latest changes: 11.5.1996                     */
  9. /*-----------------------------------------------*/
  10.  
  11. #ifndef EDADM_HPP
  12. #define EDADM_HPP
  13.  
  14. /* IUICL Headers */
  15. #include <iframe.hpp>
  16. #include <icmdhdr.hpp>
  17. #include <iframhdr.hpp>
  18. #include <istring.hpp>
  19. #include <iprofile.hpp>
  20. #include <imcelcv.hpp>
  21. #include <icnrctl.hpp>
  22. #include <ientryfd.hpp>
  23.  
  24. /* Application Headers */
  25. #include "EDISPM.H"
  26.  
  27.  
  28. /* Text-Öffnen-Neu-Fenster-Klasse */
  29. class EDDocNewDlg : public IFrameWindow, public ICommandHandler, public IFrameHandler {
  30.    private:
  31.       IString* docName;
  32.       IString* docFilePath;
  33.    protected:
  34.       Boolean command (ICommandEvent&);
  35.    public:
  36.       EDDocNewDlg(IFrameWindow*, IString*, IString*);
  37.       IEntryField entryName;
  38.       IEntryField entryFilePath;
  39. };
  40.  
  41.  
  42. /* Text-Öffnen-Fenster-Klasse */
  43. class EDDocOpenDlg : public IFrameWindow, public ICommandHandler, public IFrameHandler {
  44.    private:
  45.       IProfile *profile;
  46.       IString  *docName;
  47.    protected:
  48.       Boolean command (ICommandEvent&);
  49.    public:
  50.       EDDocOpenDlg(IString*, IWindow*, IProfile *);
  51.       IMultiCellCanvas  DocOpenClient;
  52.       IContainerControl DocOpenCnr;
  53. };
  54.  
  55.  
  56. /* Hauptfenster-Klasse */
  57. class EDDocAdmin
  58. {
  59.    private:
  60.       IString profPath;
  61.       IProfile *EDProfile;
  62.       IWindow  *parent;
  63.    protected:
  64.  /*     static IString validate ( const IString &name); */
  65.    public:
  66.       EDDocAdmin (IWindow *);
  67.       ~EDDocAdmin();
  68.       short openProfile();
  69.       short getDocFromID(IString *, IString *, IString* );
  70.       short chooseDoc(IString *, IString *, IString *);
  71.       short setServer(IString *, IString *);
  72. };
  73. #endif
  74.