Reputation: 8704
I have a desktop app written in C++. It does a variety of different things and interacts with a database. I have made most actions that need to be performed selectable from a list. Actions are performed serially on data sets and need to be saved and played back at a later time on a different result set.
The actions are typically performed from a drop down menus and there are no load/save to disk operations. I dont' necessarily need scripting capability, but if thats the easiest way to go that's fine.
How would you approach this?
Added, This application is NOT written in OOP style
Upvotes: 0
Views: 270
Reputation: 69682
Now I know less know scripting languages that are useful in game programming, so useful in whatever application you need scripting for:
Upvotes: 0
Reputation: 9408
Sounds like the GoF Command design pattern:
http://en.wikipedia.org/wiki/Command_pattern
http://www.oodesign.com/command-pattern.html
Upvotes: 1