~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/src/dbus/networkmanager_proxy.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*
3
 
 *      This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT!
4
 
 */
5
 
 
6
 
#ifndef __dbusxx__networkmanager_proxy_h__PROXY_MARSHAL_H
7
 
#define __dbusxx__networkmanager_proxy_h__PROXY_MARSHAL_H
8
 
 
9
 
#include "dbus_cpp.h"
10
 
 
11
 
namespace org {
12
 
namespace freedesktop {
13
 
 
14
 
class NetworkManager_proxy
15
 
        : public ::DBus::InterfaceProxy {
16
 
    public:
17
 
 
18
 
        NetworkManager_proxy()
19
 
            : ::DBus::InterfaceProxy("org.freedesktop.NetworkManager") {
20
 
            connect_signal(NetworkManager_proxy, StateChanged, _StateChanged_stub);
21
 
            connect_signal(NetworkManager_proxy, PropertiesChanged, _PropertiesChanged_stub);
22
 
        }
23
 
 
24
 
    public:
25
 
 
26
 
        /* properties exported by this interface */
27
 
    public:
28
 
 
29
 
        /* methods exported by this interface,
30
 
         * this functions will invoke the corresponding methods on the remote objects
31
 
         */
32
 
        std::vector< ::DBus::Path > GetDevices() {
33
 
            ::DBus::CallMessage call;
34
 
            call.member("GetDevices");
35
 
            ::DBus::Message ret = invoke_method(call);
36
 
            ::DBus::MessageIter ri = ret.reader();
37
 
 
38
 
            std::vector< ::DBus::Path > argout;
39
 
            ri >> argout;
40
 
            return argout;
41
 
        }
42
 
 
43
 
 
44
 
    public:
45
 
 
46
 
        /* signal handlers for this interface
47
 
         */
48
 
        virtual void StateChanged(const uint32_t& argin0) = 0;
49
 
        virtual void PropertiesChanged(const std::map< std::string, ::DBus::Variant >& argin0) = 0;
50
 
 
51
 
    private:
52
 
 
53
 
        /* unmarshalers (to unpack the DBus message before calling the actual signal handler)
54
 
         */
55
 
        void _StateChanged_stub(const ::DBus::SignalMessage &sig) {
56
 
            ::DBus::MessageIter ri = sig.reader();
57
 
 
58
 
            uint32_t arg0;
59
 
            ri >> arg0;
60
 
            StateChanged(arg0);
61
 
        }
62
 
        void _PropertiesChanged_stub(const ::DBus::SignalMessage &sig) {
63
 
            ::DBus::MessageIter ri = sig.reader();
64
 
 
65
 
            std::map< std::string, ::DBus::Variant > arg0;
66
 
            ri >> arg0;
67
 
            PropertiesChanged(arg0);
68
 
        }
69
 
};
70
 
 
71
 
}
72
 
}
73
 
#endif //__dbusxx__networkmanager_proxy_h__PROXY_MARSHAL_H