~ubuntu-branches/ubuntu/lucid/ming/lucid

« back to all changes in this revision

Viewing changes to test/Movie/setNetworkAccess/test02-cxx.C

  • Committer: Bazaar Package Importer
  • Author(s): Ilya Barygin
  • Date: 2010-02-11 10:57:41 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100211105741-lzpmxc0703c4bo1w
Tags: 1:0.4.3-1ubuntu1
* Merge from Debian unstable (LP: #192664), remaining changes:
  - Python 2.6 transition:
    - debian/rules:
      + Include /usr/share/python/python.mk.
      + Add py_setup_install_args macro to setup.py install.
      + Installed modules differ between python versions and can't be shared,
        use DH_PYCENTRAL=nomove.
    - Remove unnecessary debian/python-ming.{dirs,files}, Python 2.3 is not
      supported anymore.
* debian/control: separate dependencies by commas.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <mingpp.h>
 
2
#include <cstdlib>
 
3
 
 
4
 
 
5
int main(){
 
6
        try {
 
7
                SWFMovie* m = new SWFMovie(8);
 
8
                m->setNetworkAccess(1);
 
9
                m->save("test02.swf");
 
10
        }
 
11
        catch(SWFException &e)
 
12
        {
 
13
                std::cerr << "SWFException: " << e.what() << std::endl << std::endl;
 
14
                return EXIT_FAILURE;
 
15
        }
 
16
        return 0;
 
17
}