From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 4: Line 4:
 
* ''void subStop( );'' — Stop of the subsystem.
 
* ''void subStop( );'' — Stop of the subsystem.
 
* ''AutoHD<TUI> at( const string &name ) const;'' — Connects to the user's interface module.
 
* ''AutoHD<TUI> at( const string &name ) const;'' — Connects to the user's interface module.
 +
* ''string fontSnthHglCode( );'' — Getting the font name used in the syntax highlight for code.
 +
* ''void setFontSnthHglCode( const string &val )'' — Setting the font name used in the syntax highlight for code.
 
* ''static string icoGet( const string &inm, string *tp = NULL, bool retPath = false );'' — Downloads image of the icon ''inm'' from standard directories or return path, on ''retPath'', to allowed icon. Detecting icons for file extensions "png", "gif", "jpg", "jpeg", which return into ''tp''.
 
* ''static string icoGet( const string &inm, string *tp = NULL, bool retPath = false );'' — Downloads image of the icon ''inm'' from standard directories or return path, on ''retPath'', to allowed icon. Detecting icons for file extensions "png", "gif", "jpg", "jpeg", which return into ''tp''.
 
* ''static string docGet( const string &inm, string *tp = NULL, unsigned opt = 0 );'' — Downloads document ''inm'' from standard directories or return path, on ''retPath'', to allowed document. Detecting documents for file extensions "pdf", "html", "odt", which return into ''tp''.
 
* ''static string docGet( const string &inm, string *tp = NULL, unsigned opt = 0 );'' — Downloads document ''inm'' from standard directories or return path, on ''retPath'', to allowed document. Detecting documents for file extensions "pdf", "html", "odt", which return into ''tp''.
 
* ''static string docKeyGet( const string &itxt );'' — Gets the inline documentation key from the text ''itxt'' of a configuration field, often it is the node description and the key "DOC" in it.
 
* ''static string docKeyGet( const string &itxt );'' — Gets the inline documentation key from the text ''itxt'' of a configuration field, often it is the node description and the key "DOC" in it.
 
* ''static string mimeGet( const string &inm, const string &fDt, const string &orig = "" );'' — Gets file's mime type in view '''{group}/{type}''' for the file name ''inm'', its content ''fDt'' and the original hint ''orig''.
 
* ''static string mimeGet( const string &inm, const string &fDt, const string &orig = "" );'' — Gets file's mime type in view '''{group}/{type}''' for the file name ''inm'', its content ''fDt'' and the original hint ''orig''.

Latest revision as of 11:00, 9 April 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/API)
'''Public methods:'''
* ''int subVer( );'' — Subsystem's version.
* ''void subStart( );'' — Start of the subsystem.
* ''void subStop( );'' — Stop of the subsystem.
* ''AutoHD<TUI> at( const string &name ) const;'' — Connects to the user's interface module.
* ''string fontSnthHglCode( );'' — Getting the font name used in the syntax highlight for code.
* ''void setFontSnthHglCode( const string &val )'' — Setting the font name used in the syntax highlight for code.
* ''static string icoGet( const string &inm, string *tp = NULL, bool retPath = false );'' — Downloads image of the icon ''inm'' from standard directories or return path, on ''retPath'', to allowed icon. Detecting icons for file extensions "png", "gif", "jpg", "jpeg", which return into ''tp''.
* ''static string docGet( const string &inm, string *tp = NULL, unsigned opt = 0 );'' — Downloads document ''inm'' from standard directories or return path, on ''retPath'', to allowed document. Detecting documents for file extensions "pdf", "html", "odt", which return into ''tp''.
* ''static string docKeyGet( const string &itxt );'' — Gets the inline documentation key from the text ''itxt'' of a configuration field, often it is the node description and the key "DOC" in it.
* ''static string mimeGet( const string &inm, const string &fDt, const string &orig = "" );'' — Gets file's mime type in view '''{group}/{type}''' for the file name ''inm'', its content ''fDt'' and the original hint ''orig''.
Translation'''Public methods:'''
* ''int subVer( );'' — Subsystem's version.
* ''void subStart( );'' — Start of the subsystem.
* ''void subStop( );'' — Stop of the subsystem.
* ''AutoHD<TUI> at( const string &name ) const;'' — Connects to the user's interface module.
* ''string fontSnthHglCode( );'' — Getting the font name used in the syntax highlight for code.
* ''void setFontSnthHglCode( const string &val )'' — Setting the font name used in the syntax highlight for code.
* ''static string icoGet( const string &inm, string *tp = NULL, bool retPath = false );'' — Downloads image of the icon ''inm'' from standard directories or return path, on ''retPath'', to allowed icon. Detecting icons for file extensions "png", "gif", "jpg", "jpeg", which return into ''tp''.
* ''static string docGet( const string &inm, string *tp = NULL, unsigned opt = 0 );'' — Downloads document ''inm'' from standard directories or return path, on ''retPath'', to allowed document. Detecting documents for file extensions "pdf", "html", "odt", which return into ''tp''.
* ''static string docKeyGet( const string &itxt );'' — Gets the inline documentation key from the text ''itxt'' of a configuration field, often it is the node description and the key "DOC" in it.
* ''static string mimeGet( const string &inm, const string &fDt, const string &orig = "" );'' — Gets file's mime type in view '''{group}/{type}''' for the file name ''inm'', its content ''fDt'' and the original hint ''orig''.

Public methods:

  • int subVer( ); — Subsystem's version.
  • void subStart( ); — Start of the subsystem.
  • void subStop( ); — Stop of the subsystem.
  • AutoHD<TUI> at( const string &name ) const; — Connects to the user's interface module.
  • string fontSnthHglCode( ); — Getting the font name used in the syntax highlight for code.
  • void setFontSnthHglCode( const string &val ) — Setting the font name used in the syntax highlight for code.
  • static string icoGet( const string &inm, string *tp = NULL, bool retPath = false ); — Downloads image of the icon inm from standard directories or return path, on retPath, to allowed icon. Detecting icons for file extensions "png", "gif", "jpg", "jpeg", which return into tp.
  • static string docGet( const string &inm, string *tp = NULL, unsigned opt = 0 ); — Downloads document inm from standard directories or return path, on retPath, to allowed document. Detecting documents for file extensions "pdf", "html", "odt", which return into tp.
  • static string docKeyGet( const string &itxt ); — Gets the inline documentation key from the text itxt of a configuration field, often it is the node description and the key "DOC" in it.
  • static string mimeGet( const string &inm, const string &fDt, const string &orig = "" ); — Gets file's mime type in view {group}/{type} for the file name inm, its content fDt and the original hint orig.