MidoriHistoryWebsite

MidoriHistoryWebsite

Functions

Types and Values

Object Hierarchy


Description

Functions

MIDORI_TYPE_HISTORY_WEBSITE

#define MIDORI_TYPE_HISTORY_WEBSITE (midori_history_website_get_type ())

The type for MidoriHistoryWebsite.


midori_history_website_new ()

MidoriHistoryWebsite *
midori_history_website_new (const gchar *uri,
                            const gchar *title,
                            gint64 date);

Parameters

uri

 

 

title

 

 

date

 

 

midori_history_website_get_uri ()

const gchar *
midori_history_website_get_uri (MidoriHistoryWebsite *self);

Get and return the current value of the "uri" property.

Parameters

self

the MidoriHistoryWebsite instance to query

 

Returns

the value of the "uri" property


midori_history_website_set_uri ()

void
midori_history_website_set_uri (MidoriHistoryWebsite *self,
                                const gchar *value);

Set the value of the "uri" property to value .

Parameters

self

the MidoriHistoryWebsite instance to modify

 

value

the new value of the "uri" property

 

MIDORI_TYPE_HISTORY_SEARCH

#define MIDORI_TYPE_HISTORY_SEARCH (midori_history_search_get_type ())

The type for MidoriHistorySearch.


midori_history_search_new ()

MidoriHistorySearch *
midori_history_search_new (const gchar *uri,
                           const gchar *keywords,
                           gint64 date);

Parameters

uri

 

 

keywords

 

 

date

 

 

midori_history_search_get_uri ()

const gchar *
midori_history_search_get_uri (MidoriHistorySearch *self);

Get and return the current value of the "uri" property.

Parameters

self

the MidoriHistorySearch instance to query

 

Returns

the value of the "uri" property


midori_history_search_set_uri ()

void
midori_history_search_set_uri (MidoriHistorySearch *self,
                               const gchar *value);

Set the value of the "uri" property to value .

Parameters

self

the MidoriHistorySearch instance to modify

 

value

the new value of the "uri" property

 

midori_history_search_get_keywords ()

const gchar *
midori_history_search_get_keywords (MidoriHistorySearch *self);

Get and return the current value of the "keywords" property.

Parameters

self

the MidoriHistorySearch instance to query

 

Returns

the value of the "keywords" property


midori_history_search_set_keywords ()

void
midori_history_search_set_keywords (MidoriHistorySearch *self,
                                    const gchar *value);

Set the value of the "keywords" property to value .

Parameters

self

the MidoriHistorySearch instance to modify

 

value

the new value of the "keywords" property

 

MIDORI_TYPE_HISTORY_ITEM

#define MIDORI_TYPE_HISTORY_ITEM (midori_history_item_get_type ())

The type for MidoriHistoryItem.


midori_history_item_new ()

MidoriHistoryItem *
midori_history_item_new (void);

midori_history_item_get_title ()

const gchar *
midori_history_item_get_title (MidoriHistoryItem *self);

Get and return the current value of the "title" property.

Parameters

self

the MidoriHistoryItem instance to query

 

Returns

the value of the "title" property


midori_history_item_set_title ()

void
midori_history_item_set_title (MidoriHistoryItem *self,
                               const gchar *value);

Set the value of the "title" property to value .

Parameters

self

the MidoriHistoryItem instance to modify

 

value

the new value of the "title" property

 

midori_history_item_get_date ()

gint64
midori_history_item_get_date (MidoriHistoryItem *self);

Get and return the current value of the "date" property.

Parameters

self

the MidoriHistoryItem instance to query

 

Returns

the value of the "date" property


midori_history_item_set_date ()

void
midori_history_item_set_date (MidoriHistoryItem *self,
                              gint64 value);

Set the value of the "date" property to value .

Parameters

self

the MidoriHistoryItem instance to modify

 

value

the new value of the "date" property

 

MIDORI_TYPE_HISTORY_DATABASE

#define MIDORI_TYPE_HISTORY_DATABASE (midori_history_database_get_type ())

The type for MidoriHistoryDatabase.


midori_history_database_query ()

void
midori_history_database_query (MidoriHistoryDatabase *self,
                               const gchar *sqlcmd,
                               const gchar *filter,
                               gint64 day,
                               gint64 max_items,
                               GCancellable *cancellable,
                               GAsyncReadyCallback _callback_,
                               gpointer _user_data_);

See also: midori_history_database_query_finish()

Parameters

self

the MidoriHistoryDatabase instance

 

sqlcmd

 

 

filter

 

 

day

 

 

max_items

 

 

cancellable

 

 

_callback_

callback to call when the request is satisfied.

[scope async]

_user_data_

the data to pass to _callback_ function.

[closure]

midori_history_database_query_finish ()

GList *
midori_history_database_query_finish (MidoriHistoryDatabase *self,
                                      GAsyncResult *_res_);

See also: midori_history_database_query()

Parameters

self

the MidoriHistoryDatabase instance

 

_res_

a GAsyncResult

 

midori_history_database_list_by_count_with_bookmarks ()

void
midori_history_database_list_by_count_with_bookmarks
                               (MidoriHistoryDatabase *self,
                                const gchar *filter,
                                gint max_items,
                                GCancellable *cancellable,
                                GAsyncReadyCallback _callback_,
                                gpointer _user_data_);

See also: midori_history_database_list_by_count_with_bookmarks_finish()

Parameters

self

the MidoriHistoryDatabase instance

 

filter

 

 

max_items

 

 

cancellable

 

 

_callback_

callback to call when the request is satisfied.

[scope async]

_user_data_

the data to pass to _callback_ function.

[closure]

midori_history_database_list_by_count_with_bookmarks_finish ()

GList *
midori_history_database_list_by_count_with_bookmarks_finish
                               (MidoriHistoryDatabase *self,
                                GAsyncResult *_res_);

See also: midori_history_database_list_by_count_with_bookmarks()

Parameters

self

the MidoriHistoryDatabase instance

 

_res_

a GAsyncResult

 

midori_history_database_insert ()

gboolean
midori_history_database_insert (MidoriHistoryDatabase *self,
                                const gchar *uri,
                                const gchar *title,
                                gint64 date,
                                gint64 day,
                                GError **error);

Parameters

self

the MidoriHistoryDatabase instance

 

uri

 

 

title

 

 

date

 

 

day

 

 

error

location to store the error occuring, or NULL to ignore.

[error-domains MidoriDatabaseError]

midori_history_database_clear ()

gboolean
midori_history_database_clear (MidoriHistoryDatabase *self,
                               gint64 maximum_age,
                               GError **error);

Parameters

self

the MidoriHistoryDatabase instance

 

maximum_age

 

 

error

location to store the error occuring, or NULL to ignore.

[error-domains MidoriDatabaseError]

midori_history_database_new ()

MidoriHistoryDatabase *
midori_history_database_new (GObject *app,
                             GError **error);

Parameters

app

 

 

error

location to store the error occuring, or NULL to ignore.

[error-domains MidoriDatabaseError]

Types and Values

struct MidoriHistoryWebsite

struct MidoriHistoryWebsite {
	MidoriHistoryItem parent_instance;
	MidoriHistoryWebsitePrivate * priv;
};

struct MidoriHistoryWebsiteClass

struct MidoriHistoryWebsiteClass {
	MidoriHistoryItemClass parent_class;
};

The class structure for MIDORI_TYPE_HISTORY_WEBSITE. All the fields in this structure are private and should never be accessed directly.

Members

MidoriHistoryItemClass parent_class;

the parent class structure

 

struct MidoriHistorySearch

struct MidoriHistorySearch {
	MidoriHistoryItem parent_instance;
	MidoriHistorySearchPrivate * priv;
};

struct MidoriHistorySearchClass

struct MidoriHistorySearchClass {
	MidoriHistoryItemClass parent_class;
};

The class structure for MIDORI_TYPE_HISTORY_SEARCH. All the fields in this structure are private and should never be accessed directly.

Members

MidoriHistoryItemClass parent_class;

the parent class structure

 

struct MidoriHistoryItem

struct MidoriHistoryItem {
	GObject parent_instance;
	MidoriHistoryItemPrivate * priv;
};

struct MidoriHistoryItemClass

struct MidoriHistoryItemClass {
	GObjectClass parent_class;
};

The class structure for MIDORI_TYPE_HISTORY_ITEM. All the fields in this structure are private and should never be accessed directly.

Members

GObjectClass parent_class;

the parent class structure

 

struct MidoriHistoryDatabase

struct MidoriHistoryDatabase {
	MidoriDatabase parent_instance;
	MidoriHistoryDatabasePrivate * priv;
};

struct MidoriHistoryDatabaseClass

struct MidoriHistoryDatabaseClass {
	MidoriDatabaseClass parent_class;
};

The class structure for MIDORI_TYPE_HISTORY_DATABASE. All the fields in this structure are private and should never be accessed directly.

Members

MidoriDatabaseClass parent_class;

the parent class structure