mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
feat(core): add empty Content class
This commit is contained in:
parent
79d716d9d7
commit
3e9b07432d
3 changed files with 84 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
############################################################################
|
||||
|
||||
set(LINPHONE_CXX_OBJECTS_PRIVATE_HEADER_FILES
|
||||
content/content.h
|
||||
cpim/cpim.h
|
||||
cpim/header/cpim-core-headers.h
|
||||
cpim/header/cpim-generic-header.h
|
||||
|
|
@ -51,6 +52,7 @@ set(LINPHONE_CXX_OBJECTS_PRIVATE_HEADER_FILES
|
|||
)
|
||||
|
||||
set(LINPHONE_CXX_OBJECTS_SOURCE_FILES
|
||||
content/content.cpp
|
||||
cpim/header/cpim-core-headers.cpp
|
||||
cpim/header/cpim-generic-header.cpp
|
||||
cpim/header/cpim-header.cpp
|
||||
|
|
|
|||
37
src/content/content.cpp
Normal file
37
src/content/content.cpp
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* content.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 "content.h"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
LINPHONE_BEGIN_NAMESPACE
|
||||
|
||||
class ContentPrivate : public ObjectPrivate {
|
||||
private:
|
||||
|
||||
L_DECLARE_PUBLIC(Content);
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Content::Content (ContentPrivate &p) : Object(p) {}
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
45
src/content/content.h
Normal file
45
src/content/content.h
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* content.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 _CONTENT_H_
|
||||
#define _CONTENT_H_
|
||||
|
||||
#include "object/object.h"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
LINPHONE_BEGIN_NAMESPACE
|
||||
|
||||
class ContentPrivate;
|
||||
|
||||
class LINPHONE_PUBLIC Content : public Object {
|
||||
friend class Core;
|
||||
|
||||
public:
|
||||
// Nothing for the moment.
|
||||
|
||||
private:
|
||||
Content (ContentPrivate &p);
|
||||
|
||||
L_DECLARE_PRIVATE(Content);
|
||||
L_DISABLE_COPY(Content);
|
||||
};
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
|
||||
#endif // ifndef _CONTENT_H_
|
||||
Loading…
Add table
Reference in a new issue