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

« back to all changes in this revision

Viewing changes to src/plugins/contrib/Valgrind/Valgrind.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:
 
1
/***************************************************************
 
2
 * Name:      Valgrind.h
 
3
 * Purpose:   Code::Blocks Valgrind plugin: main functions
 
4
 * Author:    Lieven de Cock (aka killerbot)
 
5
 * Created:   28/07/2007
 
6
 * Copyright: (c) Lieven de Cock (aka killerbot)
 
7
 * License:   GPL
 
8
 **************************************************************/
 
9
 
 
10
#ifndef VALGRIND_H_INCLUDED
 
11
#define VALGRIND_H_INCLUDED
 
12
 
 
13
#include "cbplugin.h" // the base class we 're inheriting
 
14
 
 
15
class TextCtrlLogger;
 
16
class ValgrindListLog;
 
17
class TiXmlElement;
 
18
 
 
19
class Valgrind : public cbPlugin
 
20
{
 
21
public:
 
22
        Valgrind();
 
23
        ~Valgrind();
 
24
        void BuildMenu(wxMenuBar* menuBar);
 
25
        void BuildModuleMenu(const ModuleType type, wxMenu* menu, const FileTreeData* data = 0){};
 
26
        bool BuildToolBar(wxToolBar* toolBar){ return false; }
 
27
        void OnAttach(); // fires when the plugin is attached to the application
 
28
        void OnRelease(bool appShutDown); // fires when the plugin is released from the application
 
29
private:
 
30
        void WriteToLog(const wxString& Text);
 
31
        void AppendToLog(const wxString& Text);
 
32
        void ProcessStack(const TiXmlElement& Stack, const wxString& What);
 
33
        long DoValgrindVersion();
 
34
        void OnMemCheck(wxCommandEvent& );
 
35
        void OnCachegrind(wxCommandEvent& );
 
36
 
 
37
        TextCtrlLogger* m_ValgrindLog;  //!< log tab in the message pane
 
38
        ValgrindListLog* m_ListLog;             //!< log tab to click/double click to take you to offending line of code
 
39
        int                             m_LogPageIndex; //!< index of our log tab (can this change during run time ??)
 
40
        int                             m_ListLogPageIndex;     //!< index of our list log tab
 
41
        DECLARE_EVENT_TABLE()
 
42
};
 
43
 
 
44
#endif // VALGRIND_H_INCLUDED