Switch to unified view

a/src/aspell/rclaspell.h b/src/aspell/rclaspell.h
...
...
39
39
40
class AspellData;
40
class AspellData;
41
41
42
class Aspell {
42
class Aspell {
43
 public:
43
 public:
44
    Aspell(RclConfig *cnf);
44
    Aspell(const RclConfig *cnf);
45
    ~Aspell();
45
    ~Aspell();
46
46
47
    /** Check health */
47
    /** Check health */
48
    bool ok() const;
48
    bool ok() const;
49
49
...
...
66
    bool suggest(Rcl::Db &db, const std::string& term, 
66
    bool suggest(Rcl::Db &db, const std::string& term, 
67
         std::list<std::string> &suggestions, std::string &reason);
67
         std::list<std::string> &suggestions, std::string &reason);
68
68
69
 private:
69
 private:
70
    std::string dicPath();
70
    std::string dicPath();
71
    RclConfig  *m_config;
71
    const RclConfig  *m_config;
72
    std::string      m_lang;
72
    std::string      m_lang;
73
    AspellData *m_data;
73
    AspellData *m_data;
74
74
75
    bool make_speller(std::string& reason);
75
    bool make_speller(std::string& reason);
76
};
76
};