Difference between revisions of "FileSave screen"

From LinuxMCE
Jump to: navigation, search
Line 5: Line 5:
  
 
From a DCE project, you will have to include "Gen_Devices/AllScreens.h" and write two lines of code:
 
From a DCE project, you will have to include "Gen_Devices/AllScreens.h" and write two lines of code:
DCE::SCREEN_FileSave screen_FileSave(m_dwPK_Device,pMessage->m_dwPK_Device_From, "", "Please type a name for the file", sCommand);
+
 
SendCommand(screen_FileSave);
+
''DCE::SCREEN_FileSave screen_FileSave(m_dwPK_Device,pMessage->m_dwPK_Device_From, "", "Please type a name for the file", sCommand);
 +
 
 +
SendCommand(screen_FileSave);''
 +
 
  
 
== How it's implemented ==
 
== How it's implemented ==

Revision as of 09:37, 23 August 2006

This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
FileSave screen allows the user to save files on a storage drive (network drive, internal drive, core, etc.), on a private or public folder, to choose a folder or create new ones and to choose a name for the file to save.

How to use it

SCREEN_FileSave has three specific parameters: default user, caption and the command to be executed with the file.

From a DCE project, you will have to include "Gen_Devices/AllScreens.h" and write two lines of code:

DCE::SCREEN_FileSave screen_FileSave(m_dwPK_Device,pMessage->m_dwPK_Device_From, "", "Please type a name for the file", sCommand);

SendCommand(screen_FileSave);


How it's implemented

Examples

  • Ripping
  • Saving bookmarks