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

« back to all changes in this revision

Viewing changes to src/plugins/contrib/ThreadSearch/ThreadSearchEvent.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:
22
22
class ThreadSearchEvent : public wxCommandEvent
23
23
{
24
24
public:
25
 
        /** Constructor. */
26
 
        ThreadSearchEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
27
 
 
28
 
        /** Copy constructor. */
29
 
        ThreadSearchEvent(const ThreadSearchEvent& event);
30
 
 
31
 
        /** Destructor. */
32
 
        ~ThreadSearchEvent();
33
 
 
34
 
        virtual wxEvent *Clone() const {return new ThreadSearchEvent(*this);}
35
 
 
36
 
        DECLARE_DYNAMIC_CLASS(ThreadSearchEvent);
37
 
 
38
 
        wxArrayString GetLineTextArray() const {return m_LineTextArray;};   // Contains a series of string containing
39
 
                                                                                                                                                // line index (starting from 1), matching line
40
 
        void SetLineTextArray(const wxArrayString& ArrayString) {m_LineTextArray = ArrayString;};
 
25
    /** Constructor. */
 
26
    ThreadSearchEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
 
27
 
 
28
    /** Copy constructor. */
 
29
    ThreadSearchEvent(const ThreadSearchEvent& event);
 
30
 
 
31
    /** Destructor. */
 
32
    ~ThreadSearchEvent();
 
33
 
 
34
    virtual wxEvent *Clone() const {return new ThreadSearchEvent(*this);}
 
35
 
 
36
    DECLARE_DYNAMIC_CLASS(ThreadSearchEvent);
 
37
 
 
38
    wxArrayString GetLineTextArray() const {return m_LineTextArray;};   // Contains a series of string containing
 
39
                                                                        // line index (starting from 1), matching line
 
40
    void SetLineTextArray(const wxArrayString& ArrayString) {m_LineTextArray = ArrayString;};
41
41
 
42
42
private:
43
 
        wxArrayString m_LineTextArray;
 
43
    wxArrayString m_LineTextArray;
44
44
};
45
45
 
46
46
typedef void (wxEvtHandler::*ThreadSearchEventFunction)(ThreadSearchEvent&);
47
47
 
48
48
BEGIN_DECLARE_EVENT_TYPES()
49
 
        DECLARE_EXPORTED_EVENT_TYPE(WXEXPORT, wxEVT_THREAD_SEARCH, wxID_ANY)
50
 
        DECLARE_EXPORTED_EVENT_TYPE(WXEXPORT, wxEVT_THREAD_SEARCH_ERROR, wxID_ANY)
 
49
    DECLARE_EXPORTED_EVENT_TYPE(WXEXPORT, wxEVT_THREAD_SEARCH, wxID_ANY)
 
50
    DECLARE_EXPORTED_EVENT_TYPE(WXEXPORT, wxEVT_THREAD_SEARCH_ERROR, wxID_ANY)
51
51
END_DECLARE_EVENT_TYPES()
52
52
 
53
53
#define EVT_THREAD_SEARCH(id, fn) \
54
 
        DECLARE_EVENT_TABLE_ENTRY(wxEVT_THREAD_SEARCH, id, -1, \
55
 
        (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction) (ThreadSearchEventFunction) & fn,(wxObject *) NULL ),
 
54
    DECLARE_EVENT_TABLE_ENTRY(wxEVT_THREAD_SEARCH, id, -1, \
 
55
    (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction) (ThreadSearchEventFunction) & fn,(wxObject *) NULL ),
56
56
 
57
57
#define EVT_THREAD_SEARCH_ERROR(id, fn) \
58
 
        DECLARE_EVENT_TABLE_ENTRY(wxEVT_THREAD_SEARCH_ERROR, id, -1, \
59
 
        (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction) (ThreadSearchEventFunction) & fn,(wxObject *) NULL ),
 
58
    DECLARE_EVENT_TABLE_ENTRY(wxEVT_THREAD_SEARCH_ERROR, id, -1, \
 
59
    (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction) (ThreadSearchEventFunction) & fn,(wxObject *) NULL ),
60
60
 
61
61
#endif // THREAD_SEARCH_EVENT_H
62
62