⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todolist.h

📁 非常好用的可移植的多平台C/C++源代码编辑器
💻 H
字号:
/***************************************************************
 * Name:      todolist.h
 * Purpose:   Code::Blocks plugin
 * Author:    Yiannis Mandravellos <mandrav@codeblocks.org>
 * Created:   11/21/03 14:01:50
 * Copyright: (c) Yiannis Mandravellos
 * License:   GPL
 **************************************************************/

#ifndef TODOLIST_H
#define TODOLIST_H

#if defined(__GNUG__) && !defined(__APPLE__)
	#pragma interface "todolist.h"
#endif
// For compilers that support precompilation, includes <wx/wx.h>
#include <wx/wxprec.h>

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/menu.h>
	#include <wx/toolbar.h>
#endif

#include <settings.h> // much of the SDK is here
#include <sdk_events.h>
#include <cbplugin.h> // the base class we 're inheriting
#include <wx/dynarray.h>

#include "todolistview.h"

class ToDoList : public cbPlugin
{
	public:
		ToDoList();
		~ToDoList();
		int Configure();
		void BuildMenu(wxMenuBar* menuBar);
		void BuildModuleMenu(const ModuleType type, wxMenu* menu, const wxString& arg);
		bool BuildToolBar(wxToolBar* toolBar);
		void OnAttach(); // fires when the plugin is attached to the application
		void OnRelease(bool appShutDown); // fires when the plugin is released from the application
	protected:
		void OnAddItem(wxCommandEvent& event);
		void OnReparse(CodeBlocksEvent& event);
    private:
        void LoadTypes();
        void SaveTypes();
		ToDoListView* m_pListLog;
		int m_ListPageIndex;
		bool m_AutoRefresh;
		wxArrayString m_Types;
		DECLARE_EVENT_TABLE()
};

CB_DECLARE_PLUGIN();

#endif // TODOLIST_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -