Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. void i8910tuning::AFvideo_slot()
  2. {
  3. TInt error;
  4. TInt val;
  5. static const TUid repository = { 0x101F8808 };
  6. const TUint32 key = 0x3B;
  7. error = ChangeValInt( repository, key, 1);
  8. val = ReadValInt(repository, key);
  9. if ( val == 1 ) QMessageBox::information(this, tr("Autofocus video mode"), tr("Focus mode has been successfully changed!"));
  10. else QMessageBox::information(this, tr("Autofocus video mode"), tr("ERROR: Something went wrong, focus mode has not been changed."));
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement