~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to libcore/CharacterProxy.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sindhudweep Narayan Sarkar
  • Date: 2009-10-07 00:06:10 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20091007000610-mj9rwqe774gizn1j
Tags: 0.8.6-0ubuntu1
new upstream release 0.8.6 (LP: #435897)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// CharacterProxy.cpp - rebindable character reference, for Gnash
 
1
// CharacterProxy.cpp - rebindable DisplayObject reference, for Gnash
2
2
// 
3
3
//   Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
4
// 
24
24
#include "CharacterProxy.h"
25
25
 
26
26
#include "utility.h" // for typeName
27
 
#include "character.h" // for isDestroyed, getOrigTarget, ...
 
27
#include "DisplayObject.h" // for isDestroyed, getOrigTarget, ...
28
28
#include "VM.h" // for VM::getRoot()
29
29
#include "movie_root.h" // for findCharacterByTarget
30
30
 
34
34
{
35
35
 
36
36
/* static private */
37
 
character*
38
 
CharacterProxy::find_character_by_target(const std::string& tgtstr)
 
37
DisplayObject*
 
38
CharacterProxy::findDisplayObjectByTarget(const std::string& tgtstr)
39
39
{
40
40
        if ( tgtstr.empty() ) return NULL;
41
41