tdebluez
adapterImpl.h
Go to the documentation of this file.
1 /*
2  *
3  * Adapter Implementation of bluez5 for libtdebluez
4  *
5  * Copyright (C) 2018 Emanoil Kotsev <deloptes@gmail.com>
6  *
7  *
8  * This file is part of libtdebluez.
9  *
10  * libtdebluez is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * libtdebluez is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with kbluetooth; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  */
25 
26 #if !defined(ADAPTERIMPL_H_INCLUDED)
27 #define ADAPTERIMPL_H_INCLUDED
28 
29 #include "tdemacros.h"
30 
32 
33 using namespace org::bluez;
34 
35 namespace TDEBluetooth
36 {
37 
38 class TDE_EXPORT AdapterImpl: public Adapter1Proxy
39 {
40  TQ_OBJECT
41 
42 public:
43  AdapterImpl(const TQString& service, const TQString& path, TQObject* parent = 0, const char* name = 0);
44 
45  virtual ~AdapterImpl();
46  void powerOn(bool state);
47  TQString getPath();
48 
49 public slots:
50  void slotSetAlias(const TQString& alias);
51  void slotSetTimeout(int timeout);
52 
53 };
54 // class AdapterImpl
55 
56 };
57 // namespace TDEBluetooth
58 
59 #endif //ADAPTERIMPL_H_INCLUDED
60 
61 // End of File