summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/domain/converters.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/domain/converters.h')
-rw-r--r--gentoobrowse-api/domain/converters.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/gentoobrowse-api/domain/converters.h b/gentoobrowse-api/domain/converters.h
index be1a522..07188fa 100644
--- a/gentoobrowse-api/domain/converters.h
+++ b/gentoobrowse-api/domain/converters.h
@@ -1,29 +1,25 @@
#ifndef something
#define something
-#include <portage-models.h>
#include <boost/date_time/posix_time/posix_time.hpp>
-#include <visibility.h>
+#include <portage-models.h>
#include <slicer/modelPartsTypes.impl.h>
+#include <visibility.h>
namespace Slicer {
- template<typename T>
- class DLL_PUBLIC PqArray : public ModelPartForSequence<std::vector<T>> {
- public:
- PqArray(std::vector<T> *);
+ template<typename T> class DLL_PUBLIC PqArray : public ModelPartForSequence<std::vector<T>> {
+ public:
+ PqArray(std::vector<T> *);
- void SetValue(ValueSource &&) override;
- bool GetValue(ValueTarget &&) override;
+ void SetValue(ValueSource &&) override;
+ bool GetValue(ValueTarget &&) override;
};
DLL_PUBLIC
- boost::posix_time::ptime
- shortDateToPosixTime(const std::string & s);
+ boost::posix_time::ptime shortDateToPosixTime(const std::string & s);
DLL_PUBLIC
- std::string
- posixTimeToShortDate(const boost::posix_time::ptime & s);
+ std::string posixTimeToShortDate(const boost::posix_time::ptime & s);
}
#endif
-