#--
# PDF::Writer for Ruby.
#   http://rubyforge.org/projects/ruby-pdf/
#   Copyright 2003 - 2005 Austin Ziegler.
#
#   Licensed under a MIT-style licence. See LICENCE in the main distribution
#   for full licensing information.
#
# $Id: object.rb 66 2005-05-25 11:19:50 +0000 (Wed, 25 May 2005) austin $
#++
class PDF::Writer::Object
  def initialize(parent)
    @parent = parent
    @oid    = @parent.__send__(:generate_id)
    @parent.objects << self
  end
      
  attr_reader :oid
end

class PDF::Writer::External < PDF::Writer::Object; end

class PDF::Writer::Complex < PDF::Writer::Object; end
