logic: Fulltextsearch

* fulltextsearch enabled in sqlite
* fulltextsearch start search with @
* codeview performance improved
* strip sRGB profile from png files to get rid of libpng warning at runtime
This commit is contained in:
Andreas Stallinger
2016-05-10 11:10:13 +02:00
parent 30faa7e52f
commit e775ae1ecd
84 changed files with 455 additions and 111 deletions
@@ -0,0 +1,28 @@
#ifndef MESSAGE_SEARCH_FULLTEXT_H
#define MESSAGE_SEARCH_FULLTEXT_H
#include "utility/messaging/Message.h"
#include "utility/types.h"
class MessageSearchFullText: public Message<MessageSearchFullText>
{
public:
MessageSearchFullText(const std::string& searchTerm)
: searchTerm(searchTerm)
{
}
static const std::string getStaticType()
{
return "MessageSearchFullText";
}
virtual void print(std::ostream& os) const
{
os << searchTerm;
}
const std::string searchTerm;
};
#endif // MESSAGE_SEARCH_FULLTEXT_H