-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
355 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
{ | ||
#endif | ||
|
||
#include "export.h" | ||
|
||
struct saucer_application; | ||
|
||
SAUCER_EXPORT saucer_application *saucer_application_acquire(const char *id); | ||
SAUCER_EXPORT void saucer_application_free(saucer_application *); | ||
|
||
SAUCER_EXPORT bool saucer_application_thread_safe(saucer_application *); | ||
|
||
typedef void (*saucer_post_callback)(); | ||
SAUCER_EXPORT void saucer_application_post(saucer_application *, saucer_post_callback callback); | ||
|
||
SAUCER_EXPORT void saucer_application_quit(saucer_application *); | ||
|
||
SAUCER_EXPORT void saucer_application_run(saucer_application *); | ||
SAUCER_EXPORT void saucer_application_run_once(saucer_application *); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
{ | ||
#endif | ||
|
||
#include "export.h" | ||
|
||
SAUCER_EXPORT void saucer_desktop_open(const char *uri); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
{ | ||
#endif | ||
|
||
#include "export.h" | ||
|
||
#include <stdbool.h> | ||
|
||
struct saucer_navigation; | ||
|
||
SAUCER_EXPORT void saucer_navigation_free(saucer_navigation *); | ||
|
||
SAUCER_EXPORT char *saucer_navigation_url(saucer_navigation *); | ||
|
||
SAUCER_EXPORT bool saucer_navigation_new_window(saucer_navigation *); | ||
SAUCER_EXPORT bool saucer_navigation_redirection(saucer_navigation *); | ||
SAUCER_EXPORT bool saucer_navigation_user_initiated(saucer_navigation *); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" | ||
{ | ||
#endif | ||
|
||
#include "export.h" | ||
|
||
#include "app.h" | ||
|
||
#include <stddef.h> | ||
|
||
struct saucer_preferences; | ||
|
||
SAUCER_EXPORT saucer_preferences *saucer_preferences_new(saucer_application *app); | ||
SAUCER_EXPORT void saucer_preferences_free(saucer_preferences *); | ||
|
||
SAUCER_EXPORT void saucer_preferences_set_persistent_cookies(saucer_preferences *, bool enabled); | ||
SAUCER_EXPORT void saucer_preferences_set_hardware_acceleration(saucer_preferences *, bool enabled); | ||
|
||
SAUCER_EXPORT void saucer_preferences_set_storage_path(saucer_preferences *, const char *path); | ||
SAUCER_EXPORT void saucer_preferences_add_browser_flag(saucer_preferences *, const char *flag); | ||
SAUCER_EXPORT void saucer_preferences_set_user_agent(saucer_preferences *, const char *user_agent); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#pragma once | ||
|
||
#include "utils/handle.hpp" | ||
#include <saucer/app.hpp> | ||
|
||
struct saucer_application : bindings::handle<saucer_application, std::shared_ptr<saucer::application>> | ||
{ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#pragma once | ||
|
||
#include "utils/handle.hpp" | ||
#include <saucer/navigation.hpp> | ||
|
||
struct saucer_navigation : bindings::handle<saucer_navigation, saucer::navigation> | ||
{ | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#pragma once | ||
|
||
#include "utils/handle.hpp" | ||
#include <saucer/window.hpp> | ||
|
||
struct saucer_preferences : bindings::handle<saucer_preferences, saucer::preferences> | ||
{ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.