--- smsdaemon/plugins/createskeleton.sh 2008/12/01 12:26:28 120 +++ smsdaemon/plugins/createskeleton.sh 2008/12/19 22:29:25 205 @@ -26,7 +26,7 @@ echo "{" >> $HEADER echo "public:" >> $HEADER echo -e "\t$CLASS();\n" >> $HEADER -echo -e "\tvirtual void Execute(IGsmModem& modem, SMS& sms);\n" >> $HEADER +echo -e "\tvirtual void Execute(ISmsTransceiver& modem, SMS& sms);\n" >> $HEADER echo -e "\tvirtual ~$CLASS() {}\n" >> $HEADER echo -e "};\n\n" >> $HEADER echo -n "#endif // __" >> $HEADER @@ -35,7 +35,7 @@ #create implementation file echo "#include \"$HEADER\"" > $CPP -echo -e "#include \"IGsmModem.h\"" >> $CPP +echo -e "#include \"ISmsTransceiver.h\"" >> $CPP echo -e "#include \"Sms.h\"\n" >> $CPP echo "$CLASS::$CLASS()" >> $CPP @@ -43,7 +43,7 @@ echo "{" >> $CPP echo -e "}\n" >> $CPP -echo "void $CLASS::Execute(IGsmModem& modem, SMS& sms)" >> $CPP +echo "void $CLASS::Execute(ISmsTransceiver& modem, SMS& sms)" >> $CPP echo "{" >> $CPP echo -e "\t//Add Implementation" >> $CPP echo "}" >> $CPP @@ -54,4 +54,4 @@ echo " - Add an implementation in the $CLASS::Execute() method" echo " - Add $CPP to CMakeLists.txt" echo " - Add $HEADER and $CPP to source control" -echo " - Add an instance of $CLASS to PluginManager::LoadPlugins()" +echo " - Add an instance of $CLASS to PluginManager::CreatePlugin()"