46380d7
Index: TimeKeeper.hpp
46380d7
===================================================================
46380d7
--- TimeKeeper.hpp	(revision 1063)
46380d7
+++ TimeKeeper.hpp	(revision 1064)
46380d7
@@ -37,6 +37,8 @@
46380d7
 
46380d7
   double sampledPresetDuration();
46380d7
 
46380d7
+  void ChangePresetDuration(int seconds) { _presetDuration = seconds; }
46380d7
+
46380d7
 #ifndef WIN32
46380d7
   /* The first ticks value of the application */
46380d7
   struct timeval startTime;
46380d7
Index: projectM.cpp
46380d7
===================================================================
46380d7
--- projectM.cpp	(revision 1063)
46380d7
+++ projectM.cpp	(revision 1064)
46380d7
@@ -917,3 +917,7 @@
46380d7
                           _settings.titleFontURL, _settings.menuFontURL);
46380d7
 }
46380d7
 
46380d7
+void projectM::changePresetDuration(int seconds) {
46380d7
+  timeKeeper->ChangePresetDuration(seconds);
46380d7
+}
46380d7
+
46380d7
Index: projectM.hpp
46380d7
===================================================================
46380d7
--- projectM.hpp	(revision 1063)
46380d7
+++ projectM.hpp	(revision 1064)
46380d7
@@ -154,6 +154,7 @@
46380d7
 
46380d7
 
46380d7
   void changeTextureSize(int size);
46380d7
+  void changePresetDuration(int seconds);
46380d7
 
46380d7
 
46380d7
   const Settings & settings() const {