CDropEvent.hpp

Go to the documentation of this file.
00001 #ifndef __CDropEvent__
00002 #define __CDropEvent__
00003 
00004 #include <Basics/CString.hpp>
00005 #include <Collections/CollectionTypedef.h>
00006 #include <MathTools/CPoint.hpp>
00007 
00008 //  ===========================================================================
00009 
00010 using Exponent::Basics::CString;
00011 using Exponent::Collections::TStringCountedPointerArray;
00012 using Exponent::MathTools::CPoint;
00013 
00014 //  ===========================================================================
00015 
00016 namespace Exponent
00017 {
00018     namespace GUI
00019     {
00020         namespace Events
00021         {
00039             class CDropEvent : public CCountedObject
00040             {
00042                 EXPONENT_CLASS_DECLARATION;
00045 //  ===========================================================================
00046 
00047             public:
00048 
00049 //  ===========================================================================
00050 
00051                 // Construction
00052                 CDropEvent(const CPoint &position);
00053 
00054                 // Destruction
00055                 virtual ~CDropEvent();
00056 
00057     //  ===========================================================================
00058 
00059                 // Assignment operator
00060                 CDropEvent &operator = (const CDropEvent &event);
00061 
00062                 // Set the position of the drop
00063                 void setDropFilePosition(const CPoint &position);
00064 
00065     //  ===========================================================================
00066 
00067                 // Get the string array
00068                 TStringCountedPointerArray *getDroppedFileNames() const;
00069 
00070                 // Get the position of the drop
00071                 const CPoint &getDropFilePosition() const;
00072 
00073     //  ===========================================================================
00074 
00075             protected:
00076 
00077                 TStringCountedPointerArray *m_droppedFiles;         
00078                 CPoint m_position;                                  
00079             };
00080         }
00081     }
00082 }
00083 #endif  // End of CDropEvent.hpp

Infinity API - CDropEvent.hpp Source File generated on 7 Mar 2007