author | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
commit | a691909050b60b94f5525093062c23d0fab11d1b (patch) (side-by-side diff) | |
tree | 1e1d82e76d85cd75c094ae36441ec852bb5ac456 /core/obex/btobex.h | |
parent | 9813113f0024205e09af9e54328287dd859fa2e8 (diff) | |
download | opie-a691909050b60b94f5525093062c23d0fab11d1b.zip opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.gz opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.bz2 |
Made OBEX library buildable if bluetooth support is disabled.
-rw-r--r-- | core/obex/btobex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/obex/btobex.h b/core/obex/btobex.h index 7e91c06..d9bd886 100644 --- a/core/obex/btobex.h +++ b/core/obex/btobex.h @@ -11,48 +11,49 @@ .%+i> _;_. .i_,=:_. -<s. This library is distributed in the hope that + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=| MERCHANTABILITY or FITNESS FOR A _.=:. : :=>: PARTICULAR PURPOSE. See the GNU ..}^=.= = ; Library General Public License for more ++= -. . .: details. : = ...= . :.=- -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = Library General Public License along with -- :-= this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* * The Bluetooth OBEX manipulating class declaration */ #ifndef OpieBtObex_H #define OpieBtObex_H +#ifdef BLUETOOTH #include "obexbase.h" #include <qobject.h> #include <services.h> #include <manager.h> #include <obexpush.h> #include "obexserver.h" namespace Opie {namespace Core {class OProcess;}} class QCopChannel; using namespace OpieTooth; namespace OpieObex { // Maybe this should be derved from Obex. class BtObex : public ObexBase { Q_OBJECT public: /** * BtObex c'tor look */ BtObex( QObject *parent, const char* name); /** * d'tor */ ~BtObex(); @@ -93,26 +94,26 @@ namespace OpieObex { OpieTooth::Manager* btManager; void shutDownReceive(); ObexServer* m_rec; private slots: // Push process slots void slotPushStatus(QCString&); void slotPushComplete(int); void slotPushError(int); // the process exited void slotExited(Opie::Core::OProcess*) ; void slotStdOut(Opie::Core::OProcess*, char*, int); void slotError(); void slotFoundServices(const QString&, Services::ValueList); private: void sendNow(); QString parseOut(); void received(); }; }; - +#endif //BLUETOOTH #endif |