diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /libdvdnav/settings.c | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libdvdnav/settings.c')
-rw-r--r-- | libdvdnav/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdvdnav/settings.c b/libdvdnav/settings.c index 4af8aea..a760b96 100644 --- a/libdvdnav/settings.c +++ b/libdvdnav/settings.c @@ -29,7 +29,7 @@ /* Characteristics/setting API calls */ -dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *this, int32_t *region) { +dvdnav_status_t dvdnav_get_region_tqmask(dvdnav_t *this, int32_t *region) { if(!this || !region) { printerr("Passed a NULL this pointer."); return DVDNAV_STATUS_ERR; @@ -39,14 +39,14 @@ dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *this, int32_t *region) { return DVDNAV_STATUS_OK; } -dvdnav_status_t dvdnav_set_region_mask(dvdnav_t *this, int32_t mask) { +dvdnav_status_t dvdnav_set_region_tqmask(dvdnav_t *this, int32_t tqmask) { if(!this) { printerr("Passed a NULL this pointer."); return DVDNAV_STATUS_ERR; } pthread_mutex_lock(&this->vm_lock); - this->vm->state.registers.SPRM[20] = (mask & 0xff); + this->vm->state.registers.SPRM[20] = (tqmask & 0xff); pthread_mutex_unlock(&this->vm_lock); return DVDNAV_STATUS_OK; } |