pendingcall.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause
2 /***************************************************************************
3  * Copyright (C) 2007,2008,2009,2010 by Rick L. Vinyard, Jr. *
4  * rvinyard@cs.nmsu.edu *
5  * *
6  * This file is part of the dbus-cxx library. *
7  ***************************************************************************/
8 #include <sigc++/sigc++.h>
9 #include <memory>
10 
11 #ifndef DBUSCXX_PENDING_CALL_H
12 #define DBUSCXX_PENDING_CALL_H
13 
14 namespace DBus {
15 class Message;
16 
24 // class PendingCall: public sigc::trackable
25 // {
26 // protected:
27 
28 // PendingCall( );
29 
30 // public:
31 // static std::shared_ptr<PendingCall> create( );
32 
33 // virtual ~PendingCall();
34 
35 // /**
36 // * Cancel the pending call; that is, signal_notify() will not
37 // * be emitted if and when the reply eventually comes back.
38 // */
39 // void cancel();
40 
41 // /**
42 // * Check to see if the reply has actually come back.
43 // */
44 // bool completed() const;
45 
46 // /**
47 // * Check to see if the
48 // * @return
49 // */
51 
52 // /**
53 // * Get the reply that this pending call represents. If
54 // * completed() is not true, or this call has been canceled,
55 // * returns an invalid pointer.
56 // *
57 // * @return
58 // */
59 // std::shared_ptr<Message> reply() const;
60 
61 // void block() const;
62 
63 // sigc::signal<void()> signal_notify() const;
64 
65 // void set_reply( std::shared_ptr<Message> msg );
66 
67 // private:
68 
69 // sigc::signal<void()> m_signal_notify;
70 
71 // std::shared_ptr<Message> m_reply;
72 
73 // bool m_canceled;
74 
75 // };
76 
77 }
78 
79 #endif
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18