core: Started error handling support
authorSimón Pena <spenap@gmail.com>
Sun, 18 Jul 2010 11:36:54 +0000 (13:36 +0200)
committerSimón Pena <spenap@gmail.com>
Sun, 18 Jul 2010 11:36:54 +0000 (13:36 +0200)
commitdc2ebab4a75bad72621412f79f90b0ffb59b9aaf
treee45d734d050a28b40dc8771016b1a820daf982e5
parent8be13f2728d75abd2bc29b2692b55bac637d8c45
core: Started error handling support

* Created jmp-error.h class defining errors (right now, just set volume
  and set position)
* Bound an error in the set volume method in jmp-mplayer-service
  when the UI tries to set the volume without an element selected.
src/jmp-error.h [new file with mode: 0644]
src/jmp-mplayer-service.c