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

« back to all changes in this revision

Viewing changes to src/include/projectfileoptionsdlg.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 PROJECTFILEOPTIONSDLG_H
7
7
#define PROJECTFILEOPTIONSDLG_H
8
8
 
9
 
#include <wx/dialog.h>
 
9
#include "scrollingdialog.h"
10
10
#include "settings.h"
11
11
 
12
12
class ProjectFile;
13
13
 
14
 
class ProjectFileOptionsDlg : public wxDialog
 
14
class ProjectFileOptionsDlg : public wxScrollingDialog
15
15
{
16
 
        public:
17
 
                ProjectFileOptionsDlg(wxWindow* parent, ProjectFile* pf);
18
 
                ProjectFileOptionsDlg(wxWindow* parent, const wxString& fileName);
19
 
                ~ProjectFileOptionsDlg();
20
 
                void OnCompilerCombo(wxCommandEvent& event);
21
 
                void OnUpdateUI(wxUpdateUIEvent& event);
22
 
                void EndModal(int retCode);
23
 
        private:
24
 
                void FillGeneralProperties(const wxString& fileName);
 
16
    public:
 
17
        ProjectFileOptionsDlg(wxWindow* parent, ProjectFile* pf);
 
18
        ProjectFileOptionsDlg(wxWindow* parent, const wxString& fileName);
 
19
        ~ProjectFileOptionsDlg();
 
20
 
 
21
        void OnReadOnlyCheck(wxCommandEvent& event);
 
22
        void OnCompilerCombo(wxCommandEvent& event);
 
23
        void OnUpdateUI(wxUpdateUIEvent& event);
 
24
        void EndModal(int retCode);
 
25
 
 
26
    private:
 
27
        void FillGeneralProperties();
25
28
        void FillCompilers();
26
29
        void UpdateBuildCommand();
27
30
        void SaveBuildCommandSelection();
28
 
 
29
 
                ProjectFile* m_ProjectFile;
30
 
                int m_LastBuildStageCompilerSel;
31
 
 
32
 
                DECLARE_EVENT_TABLE()
 
31
        bool ToggleFileReadOnly(bool setReadOnly);
 
32
 
 
33
        ProjectFile* m_ProjectFile;
 
34
        wxString     m_FileNameStr;
 
35
        wxFileName   m_FileName;
 
36
        int          m_LastBuildStageCompilerSel;
 
37
 
 
38
        DECLARE_EVENT_TABLE()
33
39
};
34
40
 
35
41
#endif // PROJECTFILEOPTIONSDLG_H