diff options
author | nyamatongwe <unknown> | 2010-03-13 21:22:03 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-03-13 21:22:03 +0000 |
commit | 1b2967ee84232e3053eb6d7299f11982b91d6d81 (patch) | |
tree | a506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/XPM.h | |
parent | 0f626757c6c63c22943ad7e86650b9ad8787584f (diff) | |
download | scintilla-mirror-1b2967ee84232e3053eb6d7299f11982b91d6d81.tar.gz |
Adding const to methods where possible.
Diffstat (limited to 'src/XPM.h')
-rw-r--r-- | src/XPM.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,9 +43,9 @@ public: void Draw(Surface *surface, PRectangle &rc); char **InLinesForm() { return lines; } void SetId(int pid_) { pid = pid_; } - int GetId() { return pid; } - int GetHeight() { return height; } - int GetWidth() { return width; } + int GetId() const { return pid; } + int GetHeight() const { return height; } + int GetWidth() const { return width; } static const char **LinesFormFromTextForm(const char *textForm); }; |