diff options
| author | nyamatongwe <devnull@localhost> | 2010-03-13 21:22:03 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-03-13 21:22:03 +0000 |
| commit | a158742c0231b348b4663b9900e7da95e05cde48 (patch) | |
| tree | a506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/XPM.h | |
| parent | 5c0fdd9dd3f026927e46488ab198213e81935b80 (diff) | |
| download | scintilla-mirror-a158742c0231b348b4663b9900e7da95e05cde48.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); }; |
