Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv15712

Modified Files:
      Tag: Audacity_UmixIt
        AudacityApp.cpp 
Log Message:
Add Thinklabs "Safety Warning".

Index: AudacityApp.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudacityApp.cpp,v
retrieving revision 1.97.2.14.2.4
retrieving revision 1.97.2.14.2.5
diff -u -d -r1.97.2.14.2.4 -r1.97.2.14.2.5
--- AudacityApp.cpp     11 Jun 2007 22:08:51 -0000      1.97.2.14.2.4
+++ AudacityApp.cpp     19 Jul 2007 05:42:08 -0000      1.97.2.14.2.5
@@ -865,6 +865,17 @@
       return false;
    }
 
+   #if (AUDACITY_BRANDING == BRAND_THINKLABS)
+      wxString prompt =
+         _("Safety Warning: When recording patients directly to your computer, 
\n"
+            "your computer must be \"floating\", i.e., disconnected from Mains 
Power, \n"
+            "Wired Networks, or Mains-Powered Peripherals such as printers. 
\n\n"
+            "You can display, playback, and edit sounds with Mains-Powered 
connections. \n\n"
+            "See http://www.thinklabsmedical.com/safety/ for more 
information.\n\n"
+         );
+      wxMessageBox(prompt, _("Safety Warning: Mains Power"), wxOK | 
wxICON_EXCLAMATION);
+   #endif
+
    return true;
 }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to