~oif-team/grail/trunk

« back to all changes in this revision

Viewing changes to tools/grail-test-edge.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"
287
287
 
288
288
  frame_status = frame_x11_new(display, &frame_handle);
289
289
  if (frame_status != UFStatusSuccess) {
290
 
    fprintf(stderr, "Error: failed to create utouch frame instance\n");
 
290
    fprintf(stderr, "Error: failed to create frame instance\n");
291
291
    return -1;
292
292
  }
293
293
 
297
297
 
298
298
  grail_status = grail_new(frame_handle, &grail_handle);
299
299
  if (grail_status != UGStatusSuccess) {
300
 
    fprintf(stderr, "Error: failed to create utouch grail instance\n");
 
300
    fprintf(stderr, "Error: failed to create grail instance\n");
301
301
    frame_x11_delete(frame_handle);
302
302
    return -1;
303
303
  }