home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / bc45 / expert.pak / DRAGDROP.OWL < prev    next >
Text File  |  1997-07-23  |  957b  |  33 lines

  1. ##--BEGIN-- @OPT_APPL_DRAGDROP
  2. ##--BEGIN-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
  3. // TFileDrop class Maintains information about a dropped file, its name, where it was dropped,
  4. // and whether or not it was in the client area
  5. ##--END-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
  6. class TFileDrop {
  7. public:
  8.     operator == (const TFileDrop& other) const {return this == &other;}
  9.  
  10.     char*   FileName;
  11.     TPoint  Point;
  12.     bool    InClientArea;
  13.  
  14.     TFileDrop (char*, TPoint&, bool, TModule*);
  15.     ~TFileDrop ();
  16.  
  17.     const char* WhoAmI ();
  18. private:
  19. ##--BEGIN-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
  20.     //
  21.     // hidden to prevent accidental copying or assignment
  22.     //
  23. ##--END-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
  24.     TFileDrop (const TFileDrop&);
  25.     TFileDrop & operator = (const TFileDrop&);
  26. };
  27.  
  28. typedef TIBagAsVector<TFileDrop> TFileList;
  29. typedef TIBagAsVectorIterator<TFileDrop> TFileListIter;
  30.  
  31.  
  32. ##--END-- @OPT_APPL_DRAGDROP
  33.