--- smsdaemon/plugins/createskeleton.sh 2008/06/11 11:05:03 51 +++ smsdaemon/plugins/createskeleton.sh 2008/12/01 12:26:28 120 @@ -35,7 +35,8 @@ #create implementation file echo "#include \"$HEADER\"" > $CPP -echo -e "#include \"GsmModem.h\"\n" >> $CPP +echo -e "#include \"IGsmModem.h\"" >> $CPP +echo -e "#include \"Sms.h\"\n" >> $CPP echo "$CLASS::$CLASS()" >> $CPP echo " : Plugin(\"$CLASSLO\", \"\")" >> $CPP @@ -46,3 +47,11 @@ echo "{" >> $CPP echo -e "\t//Add Implementation" >> $CPP echo "}" >> $CPP + +echo "" +echo "Created $HEADER and $CPP" +echo "Remember to:" +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()"