linux fixes

This commit is contained in:
Peter Schojer 2008-11-06 11:46:05 +00:00
parent 956f221664
commit 4863638cbb
5 changed files with 12 additions and 7 deletions

View File

@ -22,7 +22,9 @@ objects = AbstractTableCellHandler ArrayTableSerializer \
TableCellHandlerFactory TableRenderer TabViewRenderer \
TextEditCellRenderer TextFieldCellRenderer \
TimeFieldCellRenderer ToggleButtonCellRenderer \
Utility VerticalLayoutRenderer
Utility VerticalLayoutRenderer \
DynamicCodeLoaderRenderer AbsoluteLayoutRenderer \
TemplateRenderer
target = PocoExtJS
target_version = $(LIBVERSION)

View File

@ -1,3 +1,4 @@
Picross.port = 9980
Picross.dataRoot = ${application.configDir}data/
Picross.extjsRoot = ${application.configDir}../../testsuite/bin/
Picross.extjsRoot = ${application.configDir}extjs/
Picross.puzzles = ${application.configDir}puzzles/

View File

@ -23,7 +23,9 @@ objects = Renderable Renderer RenderContext LookAndFeel Type Delegate \
PasswordField PasswordFieldCell TimeField TimeFieldCell \
WebApplication RequestProcessor RequestHandler \
SubmitButton SubmitButtonCell ResourceManager \
StringFormatter WebWidgetsException JSDelegate
StringFormatter WebWidgetsException JSDelegate \
SortedTableModel AjaxDelegate AbsoluteLayout \
DynamicCodeLoader Template
target = PocoWebWidgets
target_version = $(LIBVERSION)

View File

@ -123,10 +123,10 @@ protected:
};
template <class TObj, class TArg, class TArgIn>
Getter* getter(const TObj* object, TArg (TObj::*method)(TArgIn in) const)
Getter* getter(const TObj* object, TArg (TObj::*method)(TArgIn) const, TArgIn in )
/// "Constructor" function for a Getter.
{
return new GetterImpl2(object, method, in);
return new GetterImpl2<TObj, TArg, TArgIn>(object, method, in);
}
@ -134,7 +134,7 @@ template <class TObj, class TArg>
Getter* getter(const TObj* object, TArg (TObj::*method)() const)
/// "Constructor" function for a Getter.
{
return new GetterImpl(object, method);
return new GetterImpl<TObj, TArg>(object, method);
}

View File

@ -293,7 +293,7 @@ void Template::bind(std::size_t num, const Any& val)
else if (type == typeid(Poco::SharedPtr<std::vector<float> >))
bindPtr(num, RefAnyCast<Poco::SharedPtr<std::vector<float> > >(val));
else if (type == typeid(Poco::SharedPtr<std::vector<double> >))
bindPtr(num, RefAnyCast<Poco::SharedPtr<std::vector<double> >>(val));
bindPtr(num, RefAnyCast<Poco::SharedPtr<std::vector<double> > >(val));
else if (type == typeid(Poco::SharedPtr<std::vector<char> >))
bindPtr(num, RefAnyCast<Poco::SharedPtr<std::vector<char> > >(val));
else if (type == typeid(Poco::SharedPtr<std::vector<bool> >))