* the words "Powered by Funambol".
*/
-
+#include "syncml/core/Mem.h"
#include "syncml/core/Meta.h"
+#include "base/globalsdef.h"
+
+BEGIN_NAMESPACE
Meta::Meta() {
this->metInf = NULL;
- set(
+ set(
NULL,
NULL,
NULL,
Meta::~Meta() {
- if (metInf) {
- delete metInf; metInf = NULL;
- }
+ if (metInf) {
+ delete metInf; metInf = NULL;
+ }
}
void Meta::setMetInf(MetInf* metInf) {
- if (this->metInf) {
- delete this->metInf; this->metInf = NULL;
- }
- if (metInf) {
- this->metInf = metInf->clone();
- }
+ if (this->metInf) {
+ delete this->metInf; this->metInf = NULL;
+ }
+ if (metInf) {
+ this->metInf = metInf->clone();
+ }
}
MetInf* Meta::getNullMetInf() {
return ret;
}
+
+END_NAMESPACE