|
|
|
@ -31,6 +31,12 @@ Content::~Content()
@@ -31,6 +31,12 @@ Content::~Content()
|
|
|
|
|
delete contentText; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Getters
|
|
|
|
|
Glib::ustring Content::get_title() |
|
|
|
|
{ |
|
|
|
|
return title; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Setters
|
|
|
|
|
void Content::update( |
|
|
|
|
const MIME & MIME, |
|
|
|
@ -39,6 +45,8 @@ void Content::update(
@@ -39,6 +45,8 @@ void Content::update(
|
|
|
|
|
// Cleanup, free memory
|
|
|
|
|
if (contentText != nullptr) |
|
|
|
|
{ |
|
|
|
|
title.clear(); |
|
|
|
|
|
|
|
|
|
remove( |
|
|
|
|
* contentText |
|
|
|
|
); |
|
|
|
@ -58,6 +66,8 @@ void Content::update(
@@ -58,6 +66,8 @@ void Content::update(
|
|
|
|
|
DATA |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
title = contentText->get_title(); |
|
|
|
|
|
|
|
|
|
append( |
|
|
|
|
* contentText |
|
|
|
|
); |
|
|
|
|