|
JX Application Framework
|
#include <JXWebBrowser.h>
Public Member Functions | |
| JXWebBrowser () | |
| ~JXWebBrowser () override | |
| void | EditPrefs () |
| void | ReadPrefs (std::istream &input) override |
| void | WritePrefs (std::ostream &output, const JFileVersion vers) const override |
Public Member Functions inherited from JWebBrowser | |
| JWebBrowser () | |
| virtual | ~JWebBrowser () |
| void | ShowURL (const JString &url) |
| void | ShowFileContent (const JString &fileName) |
| void | ShowFileLocation (const JString &fileName) |
| void | ShowFileLocations (const JPtrArray< JString > &fileList) |
| void | ComposeMail (const JString &address) |
| const JString & | GetShowURLCmd () const |
| void | SetShowURLCmd (const JString &cmd) |
| const JString & | GetShowFileContentCmd () const |
| void | SetShowFileContentCmd (const JString &cmd) |
| const JString & | GetShowFileLocationCmd () const |
| void | SetShowFileLocationCmd (const JString &cmd) |
| const JString & | GetComposeMailCmd () const |
| void | SetComposeMailCmd (const JString &cmd) |
| void | ReadConfig (std::istream &input) |
| void | WriteConfig (std::ostream &output, const JFileVersion vers) const |
Public Member Functions inherited from JXSharedPrefObject | |
| JXSharedPrefObject (const JFileVersion currVers, const JPrefID &latestVersID, const VersionInfo versList[], const JSize versCount) | |
| ~JXSharedPrefObject () override | |
| JFileVersion | GetCurrentPrefsVersion () const |
| const JPrefID & | GetLatestVersionID () const |
| JPrefID | GetPrefID (const JFileVersion vers) const |
| const JArray< VersionInfo > & | GetVersionList () const |
| void | ReadPrefs () |
| void | WritePrefs () const |
Public Member Functions inherited from JBroadcaster | |
| JBroadcaster () | |
| virtual | ~JBroadcaster () |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| bool | HasSenders () const |
| JSize | GetSenderCount () const |
| bool | HasRecipients () const |
| JSize | GetRecipientCount () const |
| virtual JString | ToString () const |
| template<class T > | |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
Protected Member Functions | |
| void | SaveCommands () override |
Protected Member Functions inherited from JXSharedPrefObject | |
| void | Receive (JBroadcaster *sender, const Message &message) override |
Protected Member Functions inherited from JBroadcaster | |
| JBroadcaster (const JBroadcaster &source) | |
| void | ListenTo (const JBroadcaster *sender) |
| void | StopListening (const JBroadcaster *sender) |
| void | ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember) |
| void | StopListening (const JBroadcaster *sender, const std::type_info &messageType) |
| template<class T > | |
| void | Send (JBroadcaster *recipient, const T &message) |
| template<class T > | |
| void | Broadcast (const T &message) |
| void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
| void | BroadcastWithFeedback (Message *message) |
| virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
| virtual void | ReceiveGoingAway (JBroadcaster *sender) |
Additional Inherited Members | |
Static Public Member Functions inherited from JWebBrowser | |
| static JFileVersion | GetCurrentConfigVersion () |
| static void | ConvertVarNames (JString *s, const JUtf8Byte *varNameList) |
This class is designed to be used as a global object. All requests to display URL's and files should be passed to this object. It contacts the appropriate program (e.g. Firefox) to display the data.
| JXWebBrowser::JXWebBrowser | ( | ) |
|
override |
| void JXWebBrowser::EditPrefs | ( | ) |
|
overridevirtual |
We assert that we can read the given data because there is no way to skip over it.
Implements JXSharedPrefObject.
|
overrideprotectedvirtual |
Derived classes can override to save state.
Reimplemented from JWebBrowser.
|
overridevirtual |
This is for use by JXGlobalPrefsManager. Nobody else should store our settings.
Implements JXSharedPrefObject.