aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index 4a1c828c3..dc6a7bcac 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -1,18 +1,18 @@
#!/bin/sh
-#####################################################################################################
+#################################################################################
#
# Generator for instances.h and instances.cpp
#
# This file is part of the KVirc irc client distribution
# Copyright (C) 2001-2008 Szymon Stefanek (pragma at kvirc dot net)
#
-#####################################################################################################
+#################################################################################
echo "" > instances.h
-######################################################################################################
+#################################################################################
cat >> instances.h <<EOF
#ifndef __OPTIONS_INSTANCES_H__
@@ -106,7 +106,7 @@ TARGET="instances.cpp"
echo "" > $TARGET
-######################################################################################################
+#################################################################################
cat >> instances.cpp <<EOF
//
@@ -138,14 +138,14 @@ cat >> instances.cpp <<EOF
//
EOF
-######################################################################################################
+#################################################################################
for afile in optw_*.h; do
echo "#include \"$afile\"" >> $TARGET
done
-######################################################################################################
+#################################################################################
cat >> instances.cpp <<EOF
#include "kvi_locale.h"
@@ -155,7 +155,7 @@ cat >> instances.cpp <<EOF
int g_iOptionWidgetInstances = 0;
EOF
-######################################################################################################
+#################################################################################
for aclass in $CLASS_LIST; do
@@ -167,19 +167,19 @@ for aclass in $CLASS_LIST; do
echo "" >> $TARGET
done
-######################################################################################################
+#################################################################################
cat >> instances.cpp <<EOF
EOF
-######################################################################################################
+#################################################################################
for aclass in $CLASS_LIST; do
echo "static const char * g_szName_$aclass = KVI_OPTIONS_WIDGET_NAME_$aclass;" >> $TARGET
echo "static const char * g_szClassName_$aclass = \"$aclass\";" >> $TARGET
done
-######################################################################################################
+#################################################################################
cat >> instances.cpp <<EOF
KviOptionsInstanceManager::KviOptionsInstanceManager()
@@ -192,7 +192,7 @@ KviOptionsInstanceManager::KviOptionsInstanceManager()
m_pInstanceTree->setAutoDelete(true);
EOF
-######################################################################################################
+#################################################################################
CLASSDIR=".classtmp"
@@ -295,7 +295,7 @@ addchildren 0 NOPARENT ""
rm -fr $CLASSDIR
-######################################################################################################
+#################################################################################
cat >> $TARGET <<EOF
}
@@ -438,5 +438,5 @@ KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(con
#endif
EOF
-######################################################################################################
+#################################################################################