- Main Page
- Classes
- Files

- File List

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

    00001 #ifndef _CONTEXTMENUEVENTARGS_H_
    00002 #define _CONTEXTMENUEVENTARGS_H_
    00003
    00004 #include "eventargs.h"
    00005
    00006 namespace WoopsiUI {
    00007
    00008         class Gadget;
    00009         class ContextMenuItem;
    00010         class ContextMenuEventArgs;
    00011
    00015         class ContextMenuEventArgs : public EventArgs<const Gadget*> {
    00016         public:
    00017
    00023                 ContextMenuEventArgs(const Gadget* source, const ContextMenuItem* item) : EventArgs<const Gadget*>(source) {
    00024                         _item = item;
    00025                 };
    00026
    00031                 inline const ContextMenuItem* getItem() const { return _item; };
    00032
    00033         private:
    00034                 const ContextMenuItem* _item;
    00035         };
    00036 }
    00037
    00038 #endif