index ca2bbab0e73277271744ee6b6652483a38ef5cd6..ad064126016c92b30d942f7984813115746b2619 100644 (file)
namespace Vars {
+ const std::string DOCUMENT_ROOT_NODE("ROOT");
const std::string INKBOARD_XMLNS("http://inkscape.org/inkboard");
+ const std::string WHITEBOARD_MESSAGE(
+ "<message type='%1' from='%2' to='%3'>"
+ "<wb xmlns='%4' session='%5'>%6</wb>"
+ "</message>");
+
+ const std::string PROTOCOL_MESSAGE(
+ "<%1><%2 /></%1>");
+
+ const std::string NEW_MESSAGE(
+ "<new parent=\"%1\" id=\"%2\" index=\"%3\" version=\"%4\">%5</new>");
+
+ const std::string CONFIGURE_MESSAGE(
+ "<configure target=\"%1\" version=\"%2\" attribute=\"%3\" value=\"%4\" />");
+
+ const std::string CONFIGURE_TEXT_MESSAGE(
+ "<configure target=\"%1\" version=\"%2\"><text>%3</text></configure>");
+
+ const std::string MOVE_MESSAGE(
+ "<move target=\"%1\" n=\"%2\" />");
+
+ const std::string REMOVE_MESSAGE(
+ "<remove target=\"%1\" />");
}
namespace State {