diff --git a/README.md b/README.md index efa6e7a..abd19ed 100644 --- a/README.md +++ b/README.md @@ -19,17 +19,12 @@ sudo apt-get install libzeroc-freeze-dev zeroc-freeze-utils ### Generate headers ``` -slice2cpp Printer.ice +make slice ``` -### Compile +### Compile & link ``` -c++ -std=c++11 -pthread -I. -DICE_CPP11_MAPPING -c Printer.cpp Server.cpp -``` - -### Link -``` -c++ -pthread -o server Printer.o Server.o -lIce++11 +make mwserver ``` # Develpment diff --git a/include/MWUtils.h b/include/MWUtils.h new file mode 100644 index 0000000..4549666 --- /dev/null +++ b/include/MWUtils.h @@ -0,0 +1,9 @@ +#ifndef MW_UTILS_H +#define MW_UTILS_H + +#include + +std::string validateName(const std::string&); +std::string validateMessage(const std::string&); + +#endif