Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/raw-rev/e59421ec23de
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 07:19:33 2012
Кодировка:

# HG changeset patch
# User boris (netbook)
# Date 1284549812 -14400
# Node ID e59421ec23dee343d6178b9489e7aff228e6750c
# Parent fc9b69af44007a9e7bcdce15f225968666da67c1
ifndef & define in headers

diff -r fc9b69af4400 -r e59421ec23de blocks3d-wt-widget.h
--- a/blocks3d-wt-widget.h Wed Sep 15 15:20:53 2010 +0400
+++ b/blocks3d-wt-widget.h Wed Sep 15 15:23:32 2010 +0400
@@ -1,3 +1,5 @@
+#ifndef MALAKITE_BLOCKS3D_WIDGET_H_
+#define MALAKITE_BLOCKS3D_WIDGET_H_

#include "config.h"

@@ -46,3 +48,5 @@
void timeout();
//~ void execute();
};
+
+#endif // MALAKITE_BLOCKS3D_WIDGET_H_
diff -r fc9b69af4400 -r e59421ec23de config.h
--- a/config.h Wed Sep 15 15:20:53 2010 +0400
+++ b/config.h Wed Sep 15 15:23:32 2010 +0400
@@ -1,9 +1,10 @@
-
+#ifndef MALAKITE_BLOCKS3D_CONFIG_H_
+#define MALAKITE_BLOCKS3D_CONFIG_H_

namespace Malakite
{

-extern const int refresh_period = 5*1000;
+const int refresh_period = 5*1000;


extern const char* python_path;
@@ -29,3 +30,5 @@
}

}
+
+#endif // MALAKITE_BLOCKS3D_CONFIG_H_s
diff -r fc9b69af4400 -r e59421ec23de salt.h
--- a/salt.h Wed Sep 15 15:20:53 2010 +0400
+++ b/salt.h Wed Sep 15 15:23:32 2010 +0400
@@ -1,4 +1,8 @@
+#ifndef SALT_H_
+#define SALT_H_

#include

std::string generateSalt();
+
+#endif // SALT_H_