Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

byogames.h

/***************************************************************
 * Name:      byogames.h
 * Purpose:   Code::Blocks plugin
 * Author:    BYO<byo.spoon@gmail.com>
 * Copyright: (c) BYO
 * License:   GPL
 **************************************************************/

#ifndef BYOGAMES_H
#define BYOGAMES_H

#ifdef __BORLANDC__
      #pragma hdrstop
#endif

#include <wx/timer.h>
#include "cbplugin.h" // the base class we 're inheriting

00019 class BYOGames : public cbToolPlugin
{
      public:

            BYOGames();
            ~BYOGames();
00025             int Configure(){ return  0; }
00026             int GetConfigurationPriority() const{ return  25; }
00027             int GetConfigurationGroup() const { return cgContribPlugin; }
            cbConfigurationPanel* GetConfigurationPanel(wxWindow* parent);
            int Execute();
            void OnAttach(); // fires when the plugin is attached to the application
            void OnRelease(bool appShutDown); // fires when the plugin is released from the application

      private:

        wxTimer SecondTick;
        void OnTimer(wxTimerEvent& event);

        int SelectGame();

        DECLARE_EVENT_TABLE()
};

#endif

Generated by  Doxygen 1.6.0   Back to index