Rev 21 | Rev 25 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 23 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | rStr.append(","); \
|
33 | rStr.append(","); \
|
34 | } \
|
34 | } \
|
35 | })
|
35 | })
|
36 | 36 | ||
37 | 37 | ||
- | 38 | ||
38 | int32_t InotifyEvent::GetDescriptor() const |
39 | int32_t InotifyEvent::GetDescriptor() const |
39 | {
|
40 | {
|
40 | return m_pWatch != NULL // if watch exists |
41 | return m_pWatch != NULL // if watch exists |
41 | ? m_pWatch->GetDescriptor() // return its descriptor |
42 | ? m_pWatch->GetDescriptor() // return its descriptor |
42 | : -1; // else return -1 |
43 | : -1; // else return -1 |