~ubuntu-branches/ubuntu/trusty/newsbeuter/trusty-proposed

« back to all changes in this revision

Viewing changes to include/view.h

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2008-05-01 14:51:20 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080501145120-i65avsclnrpl2cfq
Tags: 0.9-1
* New upstream release.
  - Fix problem displaying titles when using zh_CN.UTF-8
    locale (Closes: #471434).
* Add default configuration to set sensible-browser as browser and
  add dirs file to create /etc/newsbeuter (Closes: #470833).
* remove libnxml-depends and libmrss-depends calls in rules and
  related dependency lines in control since they are not needed
  anymore (Closes: #467201).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                        std::string id() const;
36
36
 
37
37
                        void set_feedlist(std::vector<rss_feed>& feeds);
 
38
                        void update_visible_feeds(std::vector<rss_feed>& feeds);
38
39
                        void set_keymap(keymap * k);
39
40
                        void set_config_container(configcontainer * cfgcontainer);
40
 
                        void show_error(const char * msg);
41
 
                        void set_status(const char * msg);
42
 
                        void set_status_unlocked(const char * msg);
 
41
                        void show_error(const std::string& msg);
 
42
                        void set_status(const std::string& msg);
 
43
                        void set_status_unlocked(const std::string& msg);
43
44
                        inline controller * get_ctrl() { return ctrl; }
44
45
                        inline configcontainer * get_cfg() { return cfg; }
45
46
                        inline keymap * get_keys() { return keys; }
48
49
                        inline unsigned int formaction_stack_size() { return formaction_stack.size(); }
49
50
                        char confirm(const std::string& prompt, const std::string& charset);
50
51
 
51
 
                        void write_item(const rss_item& item, const std::string& filename);
52
 
 
53
52
                        void push_itemlist(unsigned int pos);
54
53
                        void push_itemlist(rss_feed * feed);
55
54
                        void push_itemview(rss_feed * f, const std::string& guid);
77
76
 
78
77
                        std::string ask_user(const std::string& prompt);
79
78
 
 
79
                        void feedlist_mark_pos_if_visible(unsigned int pos);
 
80
 
80
81
                protected:
81
 
                        /*
82
 
                        bool jump_to_next_unread_item(std::vector<rss_item>& items, bool begin_with_next);
83
 
                        bool jump_to_next_unread_feed(bool begin_with_next);
84
 
                        bool jump_to_previous_unread_item(std::vector<rss_item>& items, bool begin_with_prev);
85
 
                        bool jump_to_previous_unread_feed(bool begin_with_prev);
86
 
                        */
87
82
 
88
83
                        void set_bindings();
89
84