~ubuntu-branches/ubuntu/wily/me-tv/wily

« back to all changes in this revision

Viewing changes to src/application.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Lamothe
  • Date: 2010-06-20 21:51:41 UTC
  • mfrom: (1.1.13 upstream) (3.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100620215141-jfzya7s0a5g8xxl4
Tags: 1.2.6-1
* New upstream release
* Fix "needs to depend on libxine1-x" updated control file to
  depend on ${xine-x:Depends} (Closes: #575122)
* Fix "EPG texts with ampersands not shown" encoded XML strings
  in GTK controls that use markup (Closes: #582613)
* Updated the description of the application to remove reference
  to MythTV

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "me-tv.h"
25
25
#include <gtkmm.h>
26
26
#include <gconfmm.h>
 
27
#include <dbus/dbus-glib.h>
27
28
#include "device_manager.h"
28
29
#include "channel_manager.h"
29
30
#include "scheduled_recording_manager.h"
46
47
        Glib::ustring                                           database_filename;
47
48
        gboolean                                                        database_initialised;
48
49
        Glib::RefPtr<Gnome::Conf::Client>       gconf_client;
49
 
 
 
50
        DBusGConnection*                                        dbus_connection;
 
51
        
50
52
        void set_string_configuration_default(const Glib::ustring& key, const Glib::ustring& value);
51
53
        void set_int_configuration_default(const Glib::ustring& key, gint value);
52
54
        void set_boolean_configuration_default(const Glib::ustring& key, gboolean value);       
61
63
 
62
64
        void on_record();
63
65
        void on_quit();
64
 
        void on_next_channel();
65
 
        void on_previous_channel();
66
66
        
67
67
public:
68
68
        Application();
83
83
        Data::Schema                    get_schema() const { return schema; }
84
84
 
85
85
        void show_error_dialog(const Glib::ustring& message);
86
 
 
 
86
                
87
87
        const Glib::ustring& get_database_filename();
88
88
        void update();
89
89
                
110
110
                
111
111
        const Glib::ustring& get_preferred_language() const { return preferred_language; }
112
112
        const Glib::ustring& get_application_dir() const { return application_dir; }
 
113
        DBusGConnection* get_dbus_connection() const { return dbus_connection; }
113
114
        
114
115
        MainWindow& get_main_window();
115
116