~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/todo/addtododlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#ifndef ADDTODODLG_H
7
7
#define ADDTODODLG_H
8
8
 
9
 
#include <wx/dialog.h>
10
9
#include <wx/string.h>
11
10
 
 
11
#include "scrollingdialog.h"
 
12
 
12
13
class wxArrayString;
13
14
class wxWindow;
14
15
class wxCommandEvent;
29
30
    tdctError    // compiler error
30
31
};
31
32
 
32
 
class AddTodoDlg : public wxDialog
 
33
class AddTodoDlg : public wxScrollingDialog
33
34
{
34
35
    public:
35
 
        AddTodoDlg(wxWindow* parent, wxArrayString& types); // make sure the types live as long (or longer) then this dialog
 
36
        AddTodoDlg(wxWindow* parent, wxArrayString users, wxArrayString types);
36
37
        ~AddTodoDlg();
37
38
 
38
39
        wxString GetText() const;
44
45
 
45
46
        void EndModal(int retVal);
46
47
    private:
47
 
        void LoadUsers() const;
48
 
        void SaveUsers() const;
49
48
        void OnAddUser(wxCommandEvent& event);
50
49
        void OnDelUser(wxCommandEvent& event);
51
 
        wxArrayString& m_Types;
 
50
        void OnAddType(wxCommandEvent& event);
 
51
        void OnDelType(wxCommandEvent& event);
 
52
 
 
53
        wxArrayString m_Users;
 
54
        wxArrayString m_Types;
52
55
        DECLARE_EVENT_TABLE()
53
56
};
54
57
 
55
58
#endif // ADDTODODLG_H
56