summaryrefslogtreecommitdiff
path: root/src/preview/PreviewModel.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-31 09:24:44 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-31 09:24:44 (GMT)
commite0c9dab8cb981172c5de81f5963e28db67f1b295 (patch)
treedd78e82f54a7ed87915a7d5100437cd42ac0c415 /src/preview/PreviewModel.cpp
parent708d52bcc5f0e13fa6540751e2402ccfdf02bec7 (diff)
downloadpowder-e0c9dab8cb981172c5de81f5963e28db67f1b295.zip
powder-e0c9dab8cb981172c5de81f5963e28db67f1b295.tar.gz
Move more SDL dependancies out of program, OpenGLCanvas for JNI and JNI methods.
Diffstat (limited to 'src/preview/PreviewModel.cpp')
-rw-r--r--src/preview/PreviewModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preview/PreviewModel.cpp b/src/preview/PreviewModel.cpp
index 71c4d4a..267571e 100644
--- a/src/preview/PreviewModel.cpp
+++ b/src/preview/PreviewModel.cpp
@@ -56,7 +56,7 @@ void * PreviewModel::updateSavePreviewT()
void * PreviewModel::updateSaveCommentsT()
{
- std::vector<Comment*> * tempComments = Client::Ref().GetComments(tSaveID, 0, 10);
+ std::vector<SaveComment*> * tempComments = Client::Ref().GetComments(tSaveID, 0, 10);
updateSaveCommentsFinished = true;
return tempComments;
}
@@ -139,7 +139,7 @@ Save * PreviewModel::GetSave()
return save;
}
-std::vector<Comment*> * PreviewModel::GetComments()
+std::vector<SaveComment*> * PreviewModel::GetComments()
{
return saveComments;
}