MXS-1775 Cleanup monitor class headers

- All classes now declared in separate header file
- Header files have .hh-suffix
This commit is contained in:
Johan Wikman
2018-05-16 09:06:16 +03:00
parent 90f1784d21
commit 787a0b50ef
10 changed files with 134 additions and 112 deletions

View File

@ -17,7 +17,7 @@
#define MXS_MODULE_NAME "ndbclustermon"
#include "ndbclustermon.h"
#include "ndbclustermon.hh"
#include <maxscale/alloc.h>
#include <maxscale/mysql_utils.h>

View File

@ -1,5 +1,4 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
*
@ -13,11 +12,14 @@
* Public License.
*/
#include <maxscale/cppdefs.hh>
#include <maxscale/monitor.hh>
#include <maxscale/spinlock.h>
#include <maxscale/thread.h>
// The handle for an instance of a NDB Cluster Monitor module
/**
* @file ndbcclustermon.hh A NDBC cluster monitor
*/
class NDBCMonitor : public MXS_MONITOR_INSTANCE
{
public: