/*!
* This file is part of CameraPlus.
*
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#ifndef SHARE_HELPER_H
#define SHARE_HELPER_H
-#include <QObject>
+#include "dbusservice.h"
class QUrl;
-class ShareHelper : public QObject {
+class ShareHelper : public DbusService {
Q_OBJECT
public:
ShareHelper(QObject *parent = 0);
~ShareHelper();
-public slots:
- void share(const QUrl& path);
+ Q_INVOKABLE bool share(const QUrl& path);
};
#endif /* SHARE_HELPER_H */