mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
feat(core): add empty Core class
This commit is contained in:
parent
3e9b07432d
commit
98a370e79f
3 changed files with 81 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
set(LINPHONE_CXX_OBJECTS_PRIVATE_HEADER_FILES
|
||||
content/content.h
|
||||
core/core.h
|
||||
cpim/cpim.h
|
||||
cpim/header/cpim-core-headers.h
|
||||
cpim/header/cpim-generic-header.h
|
||||
|
|
@ -53,6 +54,7 @@ set(LINPHONE_CXX_OBJECTS_PRIVATE_HEADER_FILES
|
|||
|
||||
set(LINPHONE_CXX_OBJECTS_SOURCE_FILES
|
||||
content/content.cpp
|
||||
core/core.cpp
|
||||
cpim/header/cpim-core-headers.cpp
|
||||
cpim/header/cpim-generic-header.cpp
|
||||
cpim/header/cpim-header.cpp
|
||||
|
|
|
|||
36
src/core/core.cpp
Normal file
36
src/core/core.cpp
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* core.cpp
|
||||
* Copyright (C) 2017 Belledonne Communications SARL
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "object/object-p.h"
|
||||
|
||||
#include "core.h"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
LINPHONE_BEGIN_NAMESPACE
|
||||
|
||||
class CorePrivate : public ObjectPrivate {
|
||||
public:
|
||||
// TODO.
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Core::Core (CorePrivate &p) : Object(p) {}
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
43
src/core/core.h
Normal file
43
src/core/core.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* core.h
|
||||
* Copyright (C) 2017 Belledonne Communications SARL
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _CORE_H_
|
||||
#define _CORE_H_
|
||||
|
||||
#include "object/object.h"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
LINPHONE_BEGIN_NAMESPACE
|
||||
|
||||
class CorePrivate;
|
||||
|
||||
class LINPHONE_PUBLIC Core : public Object {
|
||||
public:
|
||||
// Nothing for the moment.
|
||||
|
||||
private:
|
||||
Core (CorePrivate &p);
|
||||
|
||||
L_DECLARE_PRIVATE(Core);
|
||||
L_DISABLE_COPY(Core);
|
||||
};
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
|
||||
#endif // ifndef _CORE_H_
|
||||
Loading…
Add table
Reference in a new issue