1 | /* rgtaskswin.h |
---|
2 | * |
---|
3 | * Copyright (c) 2004 Michael Vogt |
---|
4 | * |
---|
5 | * Author: Michael Vogt <mvo@debian.org> |
---|
6 | * |
---|
7 | * This program is free software; you can redistribute it and/or |
---|
8 | * modify it under the terms of the GNU General Public License as |
---|
9 | * published by the Free Software Foundation; either version 2 of the |
---|
10 | * License, or (at your option) any later version. |
---|
11 | * |
---|
12 | * This program is distributed in the hope that it will be useful, |
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | * GNU General Public License for more details. |
---|
16 | * |
---|
17 | * You should have received a copy of the GNU General Public License |
---|
18 | * along with this program; if not, write to the Free Software |
---|
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
20 | * USA |
---|
21 | */ |
---|
22 | |
---|
23 | |
---|
24 | #ifndef _RGTASKSWIN_H_ |
---|
25 | #define _RGTASKSWIN_H_ |
---|
26 | |
---|
27 | #include "rggladewindow.h" |
---|
28 | |
---|
29 | class RGMainWindow; |
---|
30 | |
---|
31 | class RGTasksWin : public RGGladeWindow { |
---|
32 | protected: |
---|
33 | RGMainWindow *_mainWin; |
---|
34 | GtkListStore *_store; |
---|
35 | GtkWidget *_taskView; |
---|
36 | GtkWidget *_detailsButton; |
---|
37 | |
---|
38 | static void cbButtonOkClicked(GtkWidget *self, void *data); |
---|
39 | static void cbButtonCancelClicked(GtkWidget *self, void *data); |
---|
40 | static void cbButtonDetailsClicked(GtkWidget *self, void *data); |
---|
41 | static void cell_toggled_callback (GtkCellRendererToggle *cell, |
---|
42 | gchar *path_string, |
---|
43 | gpointer user_data); |
---|
44 | static void selection_changed_callback(GtkTreeSelection *selection, |
---|
45 | gpointer user_data); |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | public: |
---|
50 | RGTasksWin(RGWindow *parent); |
---|
51 | virtual ~ RGTasksWin() { |
---|
52 | }; |
---|
53 | }; |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | #endif |
---|