Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Selection.h@0:577f0ec71f4c, 2013-02-28 (annotated)
- Committer:
- pyeh9
- Date:
- Thu Feb 28 22:19:37 2013 +0000
- Revision:
- 0:577f0ec71f4c
- Child:
- 1:84d263c8932d
First commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pyeh9 | 0:577f0ec71f4c | 1 | #ifndef SELECTION_H |
| pyeh9 | 0:577f0ec71f4c | 2 | #define SELECTION_H |
| pyeh9 | 0:577f0ec71f4c | 3 | |
| pyeh9 | 0:577f0ec71f4c | 4 | class Selection { |
| pyeh9 | 0:577f0ec71f4c | 5 | private: |
| pyeh9 | 0:577f0ec71f4c | 6 | |
| pyeh9 | 0:577f0ec71f4c | 7 | public: |
| pyeh9 | 0:577f0ec71f4c | 8 | void (*fun)(); // pointer to a function to execute |
| pyeh9 | 0:577f0ec71f4c | 9 | char* selText; // selection text |
| pyeh9 | 0:577f0ec71f4c | 10 | int pos; // selection position |
| pyeh9 | 0:577f0ec71f4c | 11 | |
| pyeh9 | 0:577f0ec71f4c | 12 | Selection(void (*)(), int, char *); |
| pyeh9 | 0:577f0ec71f4c | 13 | |
| pyeh9 | 0:577f0ec71f4c | 14 | //debug functions |
| pyeh9 | 0:577f0ec71f4c | 15 | }; |
| pyeh9 | 0:577f0ec71f4c | 16 | |
| pyeh9 | 0:577f0ec71f4c | 17 | #endif |