Nemiver
0.3
src
persp
dbgperspective
nmv-file-list.h
Go to the documentation of this file.
1
//Author: Jonathon Jongsma
2
/*
3
*This file is part of the Nemiver project
4
*
5
*Nemiver is free software; you can redistribute
6
*it and/or modify it under the terms of
7
*the GNU General Public License as published by the
8
*Free Software Foundation; either version 2,
9
*or (at your option) any later version.
10
*
11
*Nemiver is distributed in the hope that it will
12
*be useful, but WITHOUT ANY WARRANTY;
13
*without even the implied warranty of
14
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*See the GNU General Public License for more details.
16
*
17
*You should have received a copy of the
18
*GNU General Public License along with Nemiver;
19
*see the file COPYING.
20
*If not, write to the Free Software Foundation,
21
*Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
*
23
*See COPYRIGHT file copyright information.
24
*/
25
#ifndef __NMV_FILE_LIST_H__
26
#define __NMV_FILE_LIST_H__
27
28
#include <list>
29
#include <gtkmm/widget.h>
30
#include "
common/nmv-object.h
"
31
#include "
common/nmv-safe-ptr-utils.h
"
32
#include "
nmv-i-debugger.h
"
33
34
NEMIVER_BEGIN_NAMESPACE (
nemiver
)
35
36
using
nemiver::common::SafePtr
;
37
using
nemiver::common::UString
;
38
45
class
NEMIVER_API
FileList
:
public
nemiver::common::Object
{
46
//non copyable
47
FileList
(
const
FileList
&);
48
FileList
&
operator=
(
const
FileList
&);
49
50
struct
Priv;
51
SafePtr<Priv>
m_priv
;
52
53
public
:
54
55
FileList
(
IDebuggerSafePtr
&a_debugger,
const
UString
&a_starting_path);
56
virtual
~
FileList
();
57
Gtk::Widget& widget ()
const
;
58
sigc::signal<void, const UString&>& file_activated_signal ()
const
;
59
sigc::signal<void>& files_selected_signal ()
const
;
60
void
get_filenames (std::vector<std::string> &a_filenames)
const
;
61
void
update_content ();
62
void
expand_to_filename (
const
UString
&a_filename);
63
64
};
//end FileList
65
66
NEMIVER_END_NAMESPACE (
nemiver
)
67
68
#endif //__NMV_FILE_LIST_H__
69
70
nmv-safe-ptr-utils.h
nemiver::common::Object
Definition:
nmv-object.h:43
nemiver
Definition:
nmv-address.h:31
NEMIVER_API
#define NEMIVER_API
Definition:
nmv-api-macros.h:53
nemiver::common::UString
Definition:
nmv-ustring.h:45
nemiver::common::Object::operator=
Object & operator=(Object const &)
nemiver::FileList
Definition:
nmv-file-list.h:45
nemiver::common::Object::m_priv
SafePtr< ObjectPriv > m_priv
Definition:
nmv-object.h:47
nmv-i-debugger.h
nmv-object.h
nemiver::common::SafePtr
Definition:
nmv-safe-ptr.h:71
Generated by
1.8.17