001    /*
002     * Copyright (C) 2003 Adam Olsen This program is free software; you can
003     * redistribute it and/or modify it under the terms of the GNU General Public
004     * License as published by the Free Software Foundation; either version 1, or
005     * (at your option) any later version. This program is distributed in the hope
006     * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
007     * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
008     * General Public License for more details. You should have received a copy of
009     * the GNU General Public License along with this program; if not, write to the
010     * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
011     */
012    
013    package com.valhalla.jbother.plugins.events;
014    
015    import com.valhalla.pluginmanager.PluginEvent;
016    import org.jivesoftware.smack.packet.*;
017    
018    public class MessageSendingEvent extends PluginEvent {
019        private Message message;
020    
021        public MessageSendingEvent(Object source) {
022            super(source);
023        }
024    
025        public void setMessage( Message message ) { this.message = message; }
026        public Message getMessage() { return message; }
027    }