Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void i8910tuning::AFvideo_slot()
- {
- TInt error;
- TInt val;
- static const TUid repository = { 0x101F8808 };
- const TUint32 key = 0x3B;
- error = ChangeValInt( repository, key, 1);
- val = ReadValInt(repository, key);
- if ( val == 1 ) QMessageBox::information(this, tr("Autofocus video mode"), tr("Focus mode has been successfully changed!"));
- else QMessageBox::information(this, tr("Autofocus video mode"), tr("ERROR: Something went wrong, focus mode has not been changed."));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement