~oif-team/grail/trunk

« back to all changes in this revision

Viewing changes to tools/grail-test-atomic.c

  • Committer: Chase Douglas
  • Date: 2012-07-25 23:09:08 UTC
  • mfrom: (229.2.4 grail)
  • Revision ID: chase.douglas@canonical.com-20120725230908-1l25qh2ex2ueanqj
Merge in project rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 *
3
 
 * utouch-frame - Touch Frame Library
 
3
 * frame - Touch Frame Library
4
4
 *
5
5
 * Copyright (C) 2010-2011 Canonical Ltd.
6
6
 *
26
26
#include <unistd.h>
27
27
 
28
28
#include <X11/extensions/XInput2.h>
29
 
#include <utouch/frame.h>
30
 
#include <utouch/frame_x11.h>
31
 
#include <utouch/grail.h>
 
29
#include <oif/frame.h>
 
30
#include <oif/frame_x11.h>
 
31
#include <oif/grail.h>
32
32
 
33
33
#include "common/device.h"
34
34
#include "common/servertime.h"
288
288
 
289
289
  frame_status = frame_x11_new(display, &frame_handle);
290
290
  if (frame_status != UFStatusSuccess) {
291
 
    fprintf(stderr, "Error: failed to create utouch frame instance\n");
 
291
    fprintf(stderr, "Error: failed to create frame instance\n");
292
292
    return -1;
293
293
  }
294
294
 
298
298
 
299
299
  grail_status = grail_new(frame_handle, &grail_handle);
300
300
  if (grail_status != UGStatusSuccess) {
301
 
    fprintf(stderr, "Error: failed to create utouch grail instance\n");
 
301
    fprintf(stderr, "Error: failed to create grail instance\n");
302
302
    frame_x11_delete(frame_handle);
303
303
    return -1;
304
304
  }