Fix include guards
Summary: Some plugins were copy/pasted from a template and forgot to change their include guards. Since plugin header files are never cross-referenced, this was not a serious issue, but it looks nicer to be correct NotificationListener.h did not have an include guard. As before, this is not a problem currently, but it's best to have it fixed Test Plan: Project should build, compile, and run as normal Reviewers: #kde_connect, nicolasfella Reviewed By: #kde_connect, nicolasfella Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16437
This commit is contained in:
parent
6879cf14cd
commit
b01652f54d
3 changed files with 11 additions and 6 deletions
|
@ -18,8 +18,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PINGPLUGIN_H
|
||||
#define PINGPLUGIN_H
|
||||
#ifndef FINDMYPHONEPLUGIN_H
|
||||
#define FINDMYPHONEPLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
@ -44,4 +44,4 @@ public:
|
|||
bool receivePacket(const NetworkPacket& np) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // FINDMYPHONEPLUGIN_H
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SHARE_CONFIG_H
|
||||
#define SHARE_CONFIG_H
|
||||
#ifndef RUNCOMMAND_CONFIG_H
|
||||
#define RUNCOMMAND_CONFIG_H
|
||||
|
||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||
|
||||
|
@ -50,4 +50,4 @@ private:
|
|||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // RUNCOMMAND_CONFIG_H
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef NOTIFICATIONLISTENER_H
|
||||
#define NOTIFICATIONLISTENER_H
|
||||
|
||||
#include <QDBusAbstractAdaptor>
|
||||
#include <QDBusArgument>
|
||||
#include <core/device.h>
|
||||
|
@ -62,3 +65,5 @@ private:
|
|||
void setTranslatedAppName();
|
||||
QString m_translatedAppName;
|
||||
};
|
||||
|
||||
#endif // NOTIFICATIONLISTENER_H
|
||||
|
|
Loading…
Reference in a new issue