~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to src/fl_sources/google_source_edit.h

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 */
20
20
 
 
21
#ifndef _GOOGLE_SOURCE_EDIT_H
 
22
#define _GOOGLE_SOURCE_EDIT_H
 
23
 
21
24
#include "google_source.h"
 
25
 
22
26
#include <glib.h>
23
27
 
24
 
void google_source_edit_export (GoogleSourcePtr gsource);
25
 
 
26
 
void google_source_edit_import (GoogleSourcePtr gsource);
27
 
 
28
 
 
29
28
/**
30
29
 * Process the waiting edits on the edit queue. Call this if the state of
31
30
 * the GoogleSource has changed.
38
37
/** Edit wrappers */
39
38
 
40
39
/**
41
 
 * Mark the given item as read. An item is identified by the guid, and
42
 
 * the feed url to which it belongs.
 
40
 * Mark the given item as read. 
43
41
 * 
44
42
 * @param gsource The GoogleSource structure 
45
43
 * @param guid   The guid of the item whose status is to be edited
46
44
 * @param feedUrl  The feedUrl of the feed containing the item.
47
45
 * @param newStatus The new read status of the item (TRUE for read)
48
46
 */
49
 
void google_source_edit_mark_read (
50
 
        GoogleSourcePtr gsource, 
51
 
        const gchar* guid, 
52
 
        const gchar* feedUrl, 
53
 
        gboolean newStatus);
 
47
void google_source_edit_mark_read (GoogleSourcePtr gsource, const gchar* guid, const gchar* feedUrl, gboolean newStatus);
54
48
 
55
 
void google_source_edit_mark_starred (GoogleSourcePtr gsource, 
56
 
                                      const gchar *guid,
57
 
                                      const gchar *feedUrl,
58
 
                                      gboolean newStatus);
 
49
/**
 
50
 * Mark the given item as starred.
 
51
 * 
 
52
 * @param gsource The GoogleSource structure 
 
53
 * @param guid   The guid of the item whose status is to be edited
 
54
 * @param feedUrl  The feedUrl of the feed containing the item.
 
55
 * @param newStatus The new read status of the item (TRUE for read)
 
56
 */
 
57
void google_source_edit_mark_starred (GoogleSourcePtr gsource, const gchar *guid, const gchar *feedUrl, gboolean newStatus);
59
58
 
60
59
 
61
60
/**
83
82
 * @param guid the guid of the item
84
83
 */
85
84
gboolean google_source_edit_is_in_queue (GoogleSourcePtr gsource, const gchar* guid);
 
85
 
 
86
#endif