- Main Page
- Classes
- Files

- File List

# C:/Documents and Settings/Administrator/Desktop/woopsi-src-0.40/Woopsi/libwoopsi/include/eventargs.h

    00001 #ifndef _EVENTARGS_H_
    00002 #define _EVENTARGS_H_
    00003
    00004 namespace WoopsiUI {
    00005
    00010         template <class T>
    00011         class EventArgs {
    00012
    00013         public:
    00014
    00019                 inline EventArgs(const T& source) { _source = source; };
    00020
    00024                 virtual inline ~EventArgs() { };
    00025
    00029                 inline const T& getSource() const { return _source; };
    00030
    00031         private:
    00032                 T _source;
    00033         };
    00034 }
    00035
    00036 #endif