From da642482dee91921fc16786208aa497d3ee31d94 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 24 Aug 2012 18:15:11 +0000 Subject: Adding new Bu::Settings system, which works more or less like QSettings from Qt, only...without qt. It's the first real system in libbu++ that is going to be all unicode, which is exciting, but I'm having to actually finish the Bu::UtfString class while I work on it. Also exciting. --- src/tests/settings.cpp | 9 +++++++++ src/tests/utf.cpp | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 src/tests/settings.cpp (limited to 'src/tests') diff --git a/src/tests/settings.cpp b/src/tests/settings.cpp new file mode 100644 index 0000000..0738cb7 --- /dev/null +++ b/src/tests/settings.cpp @@ -0,0 +1,9 @@ +#include "bu/settings.h" + +int main() +{ + Bu::Settings s("Xagasoft", "Settings"); + + +} + diff --git a/src/tests/utf.cpp b/src/tests/utf.cpp index 3418e68..923b611 100644 --- a/src/tests/utf.cpp +++ b/src/tests/utf.cpp @@ -1,9 +1,15 @@ #include #include #include +#include + +using namespace Bu; int main() { + sio << "Code: " << Bu::__calcHashCode( Bu::UtfString("Hello there") ) + << sio.nl; + Bu::File fIn("utf8.in", Bu::File::Read ); Bu::String sUtf8; char buf[4096]; -- cgit v1.2.3