]> ruin.nu Git - germs.git/blobdiff - src/sortaction.h
a little more refactoring, name might just as well return const char* since it's...
[germs.git] / src / sortaction.h
index c56d0ee42a304bdf26db992f36d4c61a5f374f7a..faec98a0c2e94681dcba096714d7f4c2e47759d6 100644 (file)
@@ -101,6 +101,13 @@ class SortAction{
                std::string toString() const{
                        return _action->toString();
                }
+
+               /**
+                * Gives access to the implementation
+                */
+               const SortActionImpl& impl(){
+                       return *_action;
+               }
        private:
                ActionPointer _action;